Пример #1
0
 public FormDescInstancesPair FindDesc(FormDescBase searchDesc)
 {
     if (searchDesc == null)
     {
         return(null);
     }
     foreach (var x in this)
     {
         if (x?.desc == searchDesc)
         {
             return(x);
         }
     }
     return(null);
 }
Пример #2
0
 public FormInstanceListOfSame(FormInstanceBase parentForm, FormDescBase workingDesc)
 {
     this.parentForm  = parentForm;
     this.workingDesc = workingDesc;
 }
Пример #3
0
 public FormDescInstancesPair(FormDescBase desc, FormInstanceListOfSame instances)
 {
     this.desc      = desc;
     this.instances = instances;
 }
Пример #4
0
 public FormInstanceBase(FormInstanceListOfSame parentInstance, FormDescBase desc)
 {
     this.parentInstance = parentInstance;
     this.desc           = desc;
 }