Alex Rivera | Logout

How to represent a C# property in UML?

Asked 2009-01-22T17:33:28.680
46

Not quite an Attribute, not quite a Method. Stereotypes? <<get>> <<set>>?


I'm retro-modelling an existing system, so I need to clearly reflect that this is not the same as a readonly field or a methods pair (regardless of what the IL says), so I think I'll go with the stereotype, but I'll accept the language independant get_ set_ as a general solution. Thanks all for the sanity test.

Edit
Report

1 Answer

0

I use like this

-memberThePropertyWillExpose
+memberThePropertyIsExposing

Well, comments on this are welcome if this is a right way !!

answered 2009-03-06T12:52:34.140

Your Answer