/// <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) { 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) { AddRange(items); }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(GroupByTermCollection collection) { wrapped = ((CollectionBase)collection).GetEnumerator(); }