Property in UML?

  • Thread starter Thread starter Jeff Louie
  • Start date Start date
I believe the notation is:

------------------------
|CUser
|=======================
|+m_name : string
|-m_occupation : string
|#m_thread : Thread
|-----------------------
|(methods)
 
David... Nice reference. The problem is specific to C# and the Property
idiom. A property in C# appears to be an attribute, but is actually an
operation. Drawing a property as an attribute is simple, but will not
generate the proper text code in the future. And a standard notation for
drawing a property as an operation is not documented. It seems to me
that MS should step up, consult the OMG, and come out with a standard
notation for properties. Any one from MS here that is interested in this
problem?

Regards,
Jeff
I believe the notation is:

------------------------
|CUser
|=======================
|+m_name : string
|-m_occupation : string
|#m_thread : Thread
|-----------------------
|(methods)
------------------------
 
Back
Top