UML Representation in specific cases of C# Application -


i have uml representation of class relationship (association, aggregation , composition) questions

  1. in c# windows program have program calls main(). main() calls our form form1.

    what relationship between class program , class form1

  2. a class c1 has method m1 takes 1 parameter of type enum flag

    what relationship between class c1 , enum flag

  3. class c1 has property list collection of c2 objects c2 class

    what relationship between class c1 , class c2

  4. form 1 calls customer dialog form 2 value

    what relationship between class form1 , class form2

  5. class c1 has property of type enum flag

    what relationship between class c1 , enum flag

thank you

  1. this association main-->form1 put role name (e.g. theform1) on right side of association
  2. this simple dependency c1 - - >flag
  3. also simple association multiplicity on c2 side of association. use composite aggregation of want connect lifetime of aggregated children aggregator.
  4. this same 1.
  5. this same 2.

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -