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