Exemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(CsvColumnCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 /// <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);
     }
 }