UML Representation in specific cases of C# Application -
i have uml representation of class relationship (association, aggregation , composition) questions
in c# windows program have program calls main(). main() calls our form form1.
what relationship between class program , class form1
a class c1 has method m1 takes 1 parameter of type enum flag
what relationship between class c1 , enum flag
class c1 has property list collection of c2 objects c2 class
what relationship between class c1 , class c2
form 1 calls customer dialog form 2 value
what relationship between class form1 , class form2
class c1 has property of type enum flag
what relationship between class c1 , enum flag
thank you
- this association
main
-->form1
put role name (e.g.theform1
) on right side of association - this simple dependency
c1
- - >flag
- also simple association multiplicity on
c2
side of association. use composite aggregation of want connect lifetime of aggregated children aggregator. - this same 1.
- this same 2.
Comments
Post a Comment