Esempio n. 1
0
 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);
 }
Esempio n. 2
0
        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);
        }