/// <summary> /// Adds the elements of another GroupByTermCollection to the end of this GroupByTermCollection. /// </summary> /// <param name="items"> /// The GroupByTermCollection whose elements are to be added to the end of this GroupByTermCollection. /// </param> public virtual void AddRange(GroupByTermCollection items) { foreach (GroupByTerm item in items) { this.List.Add(item); } }
/// <summary> /// Initializes a new instance of the GroupByTermCollection class, containing elements /// copied from another instance of GroupByTermCollection /// </summary> /// <param name="items"> /// The GroupByTermCollection whose elements are to be added to the new GroupByTermCollection. /// </param> public GroupByTermCollection(GroupByTermCollection items) { this.AddRange(items); }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(GroupByTermCollection collection) { this.wrapped = ((CollectionBase)collection).GetEnumerator(); }