문제

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?

도움이 되었습니까?

해결책

Just have three boxes connected by lines SomeClass PartOne PartTwo

This image is from ibm:

enter image description here

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top