Пример #1
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);
     }
 }
Пример #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);
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(CsvColumnCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Пример #4
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);
 }
Пример #5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(CsvColumnCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Пример #6
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);
     }
 }