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?

Was it helpful?

Solution

Just have three boxes connected by lines SomeClass PartOne PartTwo

This image is from ibm:

enter image description here

OTHER TIPS

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top