public TaggedMentalHealthInstrumentAdministrationArray(string tag, List <MentalHealthInstrumentAdministration> mdoItems) { this.tag = tag; if (mdoItems == null) { this.count = 0; return; } items = new MentalHealthInstrumentAdministrationTO[mdoItems.Count]; for (int i = 0; i < mdoItems.Count; i++) { items[i] = new MentalHealthInstrumentAdministrationTO(mdoItems[i]); } count = items.Length; }
public TaggedMentalHealthInstrumentAdministrationArray(string tag, List<MentalHealthInstrumentAdministration> mdoItems) { this.tag = tag; if (mdoItems == null) { this.count = 0; return; } items = new MentalHealthInstrumentAdministrationTO[mdoItems.Count]; for (int i = 0; i < mdoItems.Count; i++) { items[i] = new MentalHealthInstrumentAdministrationTO(mdoItems[i]); } count = items.Length; }