Пример #1
0
 public PlaceHolderType(ChelaModule module, string name, bool valueType, List <Structure> bases)
     : base(module)
 {
     this.placeHolderId = module.CreatePlaceHolderId();
     this.name          = name;
     this.valueType     = valueType;
     if (bases == null)
     {
         this.bases = new Structure[0];
     }
     else
     {
         this.bases = bases.ToArray();
     }
 }
Пример #2
0
 public PlaceHolderType(ChelaModule module, string name, bool valueType, Structure[] bases)
     : this(module, module.CreatePlaceHolderId(), name, valueType, bases)
 {
 }