public Namespace(string name, Namespace owner) : this(name) { NestedNamespace = new NestedElemetCollection <Namespace, Namespace>(this); NestedClassifier = new NestedElemetCollection <Classifier, IModelElement>(this); this.Name = name; this.Owner = owner; this.QualifiedName = GetQualifiedName(name, owner); }
public Classifier(TypesTable.TypesTable tt, Namespace ns, string name) { this.TypeTable = tt; Properties = new PropertyCollection(this); Operations = new OperationCollection(this); NestedClassifier = new NestedElemetCollection <Classifier, IModelElement>(this); this.Name = name; ns.NestedClassifier.Add(this); _QualifiedName = new Lazy <string>(() => GetQualifiedName(), true); }