private void FillGSCustoms(List<CustomElement> customs, List<IExportElement> ls) { FRData data = new FRData(); FRCustom custom = new FRCustom(); if (customs.Count > 1) { this.FillCustom(customs[0], custom); ls.Add(custom); // this.FillCustom(customs[1], data); ls.Add(data); } }
private void FillCustoms(List<CustomElement> customs, List<IExportElement> ls) { FRCustom cs = null; if (customs.Count > 0) { foreach (CustomElement custom in customs) { cs = new FRCustom(); this.FillCustom(custom, cs); ls.Add(cs); } } }