Esempio n. 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);
     }
 }
Esempio n. 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);
 }
Esempio n. 3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(FilteringRuleCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Esempio n. 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);
 }
Esempio n. 5
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(FilteringRuleCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Esempio n. 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);
     }
 }