A collection of elements of type Cells.ICellVirtual
Inheritance: System.Collections.CollectionBase
Beispiel #1
0
		/// <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);
			}
		}
Beispiel #2
0
		/// <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);
		}
Beispiel #3
0
 /// <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);
 }
Beispiel #4
0
			/// <summary>
			/// 
			/// </summary>
			/// <param name="collection"></param>
			public Enumerator(CellCollection collection)
			{
				this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
			}
Beispiel #5
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="collection"></param>
 public Enumerator(CellCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }