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]); } }
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); } }
public CDAFactoryCollection(CDAObject owner, Func <TPOCD[]> GetProp, Action <TPOCD[]> SetProp) : base(owner, GetProp, SetProp) { }