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