Frage

I would like to know how to indicate in a UML Class Diagram that 2 classes are partial.

For example:

File 'ClassApart1.cs'

partial class ClassA{ /* this class is used for constructors and methods */ }

File 'ClassApart2.cs'

partial class ClassA{ /* this class is used for properties */ }

Is there any convention to indicate/draw my situation in UML?

War es hilfreich?

Lösung

Just have three boxes connected by lines SomeClass PartOne PartTwo

This image is from ibm:

enter image description here

Andere Tipps

I am pretty sure that it does not exist any IUML formal convention for that. In fact each tool (C# generator) will bring it own convention. Servy depicted into his answer the "IBM convention". Modelio, for example, uses a dedicated properties...

enter image description here

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top