public HeritachyType(HeritachyType parent, string name, IScop iscop) { this.name = name; Scop = iscop; if (parent != null) { parent.Children = this; } }
public HeritachyType(string name, IScop iscop) { this.name = name; Scop = iscop; }
public HeritachyType Add(string _name, IScop iScop) { return(new HeritachyType(this, _name, iScop)); }