コード例 #1
0
ファイル: CsvColumnCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Initializes a new instance of the CsvFileColumnCollection class, containing elements
 /// copied from an array.
 /// </summary>
 /// <param name="items">
 /// The array whose elements are to be added to the new CsvFileColumnCollection.
 /// </param>
 public CsvColumnCollection(CsvColumn[]items)
 {
     this.AddRange(items);
 }
コード例 #2
0
ファイル: CsvColumnCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Adds the elements of an array to the end of this CsvFileColumnCollection.
 /// </summary>
 /// <param name="items">
 /// The array whose elements are to be added to the end of this CsvFileColumnCollection.
 /// </param>
 public virtual void AddRange(CsvColumn[]items)
 {
     foreach (CsvColumn item in items)
     {
         this.List.Add(item);
     }
 }
コード例 #3
0
ファイル: CsvColumnCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Removes the first occurrence of a specific CsvFileColumn from this CsvFileColumnCollection.
 /// </summary>
 /// <param name="value">
 /// The CsvFileColumn value to remove from this CsvFileColumnCollection.
 /// </param>
 public virtual void Remove(CsvColumn value)
 {
     this.List.Remove(value);
 }
コード例 #4
0
ファイル: CsvColumnCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Inserts an element into the CsvFileColumnCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the CsvFileColumn is to be inserted.
 /// </param>
 /// <param name="value">
 /// The CsvFileColumn to insert.
 /// </param>
 public virtual void Insert(int index, CsvColumn value)
 {
     this.List.Insert(index, value);
 }
コード例 #5
0
ファイル: CsvColumnCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this CsvFileColumnCollection
 /// </summary>
 /// <param name="value">
 /// The CsvFileColumn value to locate in the CsvFileColumnCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(CsvColumn value)
 {
     return this.List.IndexOf(value);
 }
コード例 #6
0
ファイル: CsvColumnCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Determines whether a specfic CsvFileColumn value is in this CsvFileColumnCollection.
 /// </summary>
 /// <param name="value">
 /// The CsvFileColumn value to locate in this CsvFileColumnCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this CsvFileColumnCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(CsvColumn value)
 {
     return this.List.Contains(value);
 }
コード例 #7
0
ファイル: CsvColumnCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Adds an instance of type CsvFileColumn to the end of this CsvFileColumnCollection.
 /// </summary>
 /// <param name="value">
 /// The CsvFileColumn to be added to the end of this CsvFileColumnCollection.
 /// </param>
 public virtual void Add(CsvColumn value)
 {
     this.List.Add(value);
 }