.net - How to represent a C# property in UML? -


not quite attribute, not quite method. stereotypes? <<get>> <<set>>?


i'm retro-modelling existing system, need reflect not same readonly field or methods pair (regardless of il says), think i'll go stereotype, i'll accept language independant get_ set_ general solution. sanity test.

properties convenient way of writing get_myvalue() , set_myvalue(value) allowing assignment rather normal method calling (using parenthesis).

what accessing .net property, c# has own syntax accessing these. since under skin real get_ , set_ methods created, show methods (to make uml language independent - e.g. make uml equally applicable vb.net developer)

... or have suggested, introduce own stereotype!


Comments

Popular posts from this blog

c - How to retrieve a variable from the Apache configuration inside the module? -

c# - Constructor arguments cannot be passed for interface mocks -

python - malformed header from script index.py Bad header -