/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(CsvColumnCollection collection) { this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }
/// <summary> /// Initializes a new instance of the CsvFileColumnCollection class, containing elements /// copied from another instance of CsvFileColumnCollection /// </summary> /// <param name="items"> /// The CsvFileColumnCollection whose elements are to be added to the new CsvFileColumnCollection. /// </param> public CsvColumnCollection(CsvColumnCollection items) { this.AddRange(items); }
/// <summary> /// Adds the elements of another CsvFileColumnCollection to the end of this CsvFileColumnCollection. /// </summary> /// <param name="items"> /// The CsvFileColumnCollection whose elements are to be added to the end of this CsvFileColumnCollection. /// </param> public virtual void AddRange(CsvColumnCollection items) { foreach (CsvColumn item in items) { this.List.Add(item); } }