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