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