I usually prepare my UML diagrams in Visio (I know, I know; but what're ya gonna do?).
When diagramming properties, they end up as so:
+------------------------+
| MyClass |
|------------------------|
| - _foo : int |
|------------------------|
| ?property? + Foo : int |
+------------------------+
?property? being a custom stereotype derived from ?operator?.
Ugly, I know. But it works, and it's clear. I do constructors the same way.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…