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