Question

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?

Était-ce utile?

La solution

Just have three boxes connected by lines SomeClass PartOne PartTwo

This image is from ibm:

enter image description here

Autres conseils

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

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top