.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++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -