コード例 #1
0
ファイル: FilterCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Initializes a new instance of the FilterCollection class, containing elements
 /// copied from another instance of FilterCollection
 /// </summary>
 /// <param name="items">
 /// The FilterCollection whose elements are to be added to the new FilterCollection.
 /// </param>
 public FilterCollection(FilterCollection items)
 {
     this.AddRange(items);
 }
コード例 #2
0
ファイル: FilterCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// Adds the elements of another FilterCollection to the end of this FilterCollection.
 /// </summary>
 /// <param name="items">
 /// The FilterCollection whose elements are to be added to the end of this FilterCollection.
 /// </param>
 public virtual void AddRange(FilterCollection items)
 {
     foreach (Filter item in items)
     {
         this.List.Add(item);
     }
 }
コード例 #3
0
ファイル: FilterCollection.cs プロジェクト: kisflying/kion
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(FilterCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }