public SMarty(string name, SMartyBindingTimeTypes bindingTime, IUmlObject parent) { this.Name = name; this.bindingTime = bindingTime; this.Parent = parent; this.minSelection = 0; this.maxSelection = int.MaxValue; }
/// <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; }
public Comment(string name, IUmlObject parent) { this.Name = name; this.Parent = parent; this.content = ""; }