Example #1
0
 public CDACollection(CDAObject parent, Func <TPOCD[]> GetProp, Action <TPOCD[]> SetProp)
 {
     this.parent  = parent;
     this.getProp = GetProp;
     this.setProp = SetProp;
     if (this.getProp() == null)
     {
         this.setProp(new TPOCD[0]);
     }
 }
Example #2
0
 public StrucDocElementCollection(CDAObject owner, Func <Object[]> getProp, Action <Object[]> setProp, Type[] pocdAcceptableTypes)
 {
     this.owner   = owner;
     this.getProp = getProp;
     this.setProp = setProp;
     if (pocdAcceptableTypes == null)
     {
         this.pocdAcceptableTypes = new List <Type>();
     }
     else
     {
         this.pocdAcceptableTypes = new List <Type>(pocdAcceptableTypes);
     }
 }
Example #3
0
 public CDAFactoryCollection(CDAObject owner, Func <TPOCD[]> GetProp, Action <TPOCD[]> SetProp) :
     base(owner, GetProp, SetProp)
 {
 }