Ejemplo n.º 1
0
 public SMarty(string name, SMartyBindingTimeTypes bindingTime, IUmlObject parent)
 {
     this.Name         = name;
     this.bindingTime  = bindingTime;
     this.Parent       = parent;
     this.minSelection = 0;
     this.maxSelection = int.MaxValue;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructor of Association objects.
 /// </summary>
 /// <exception cref="ArgumentNullException"/>
 public Association(IUmlObject source, IUmlObject target)
 {
     if (source == null || target == null)
     {
         throw new ArgumentNullException("Source and Target of an Association cannot be empty");
     }
     this.source = source;
     this.target = target;
     this.Name   = null;
 }
Ejemplo n.º 3
0
 public Comment(string name, IUmlObject parent)
 {
     this.Name    = name;
     this.Parent  = parent;
     this.content = "";
 }