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