Ejemplo n.º 1
0
 /// <exception cref="BadSyntaxException">
 /// The <paramref name="name"/> does not fit to the syntax.
 /// </exception>
 public Package(string name)
 {
     Initializing   = true;
     Name           = name;
     nestableHelper = new NestableHelper(this);
     nestableHelper.AddedNestedChild   += (s, a) => Changed();
     nestableHelper.RemovedNestedChild += (s, a) => Changed();
     nestableChildHelper = new NestableChildHelper(this);
     nestableChildHelper.NestingParentChanged += (s, a) => Changed();
     Initializing = false;
 }
Ejemplo n.º 2
0
 private SystemBoundary(string name)
 {
     Initializing   = true;
     this.name      = name;
     nestableHelper = new NestableHelper(this);
     nestableHelper.AddedNestedChild   += (s, a) => Changed();
     nestableHelper.RemovedNestedChild += (s, a) => Changed();
     nestableChildHelper = new NestableChildHelper(this);
     nestableChildHelper.NestingParentChanged += (s, a) => Changed();
     Initializing = false;
 }
Ejemplo n.º 3
0
 /// <exception cref="BadSyntaxException">
 /// The <paramref name="name"/> does not fit to the syntax.
 /// </exception>
 protected StructureType(string name) : base(name)
 {
     nestableHelper = new NestableHelper(this);
     nestableHelper.AddedNestedChild   += (s, a) => Changed();
     nestableHelper.RemovedNestedChild += (s, a) => Changed();
 }