예제 #1
0
 /// <summary>
 /// Adds the elements of another FilteringRuleCollection to the end of this FilteringRuleCollection.
 /// </summary>
 /// <param name="items">
 /// The FilteringRuleCollection whose elements are to be added to the end of this FilteringRuleCollection.
 /// </param>
 public virtual void AddRange(FilteringRuleCollection items)
 {
     foreach (FilteringRule item in items)
     {
         this.List.Add(item);
     }
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the FilteringRuleCollection class, containing elements
 /// copied from another instance of FilteringRuleCollection
 /// </summary>
 /// <param name="items">
 /// The FilteringRuleCollection whose elements are to be added to the new FilteringRuleCollection.
 /// </param>
 public FilteringRuleCollection(FilteringRuleCollection items)
 {
     this.AddRange(items);
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(FilteringRuleCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the FilteringRuleCollection class, containing elements
 /// copied from another instance of FilteringRuleCollection
 /// </summary>
 /// <param name="items">
 /// The FilteringRuleCollection whose elements are to be added to the new FilteringRuleCollection.
 /// </param>
 public FilteringRuleCollection(FilteringRuleCollection items)
 {
     this.AddRange(items);
 }
예제 #5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(FilteringRuleCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
예제 #6
0
 /// <summary>
 /// Adds the elements of another FilteringRuleCollection to the end of this FilteringRuleCollection.
 /// </summary>
 /// <param name="items">
 /// The FilteringRuleCollection whose elements are to be added to the end of this FilteringRuleCollection.
 /// </param>
 public virtual void AddRange(FilteringRuleCollection items)
 {
     foreach (FilteringRule item in items)
     {
         this.List.Add(item);
     }
 }