Esempio n. 1
0
File: Table.cs Progetto: npenin/uss
		/// <summary>
		/// Initializes a new instance of the TableCollection class, containing elements
		/// copied from another instance of TableCollection
		/// </summary>
		/// <param name="items">
		/// The TableCollection whose elements are to be added to the new TableCollection.
		/// </param>
		public TableCollection(TableCollection items)
		{
			this.AddRange(items);
		}
Esempio n. 2
0
File: Table.cs Progetto: npenin/uss
		/// <summary>
		/// Adds the elements of another TableCollection to the end of this TableCollection.
		/// </summary>
		/// <param name="items">
		/// The TableCollection whose elements are to be added to the end of this TableCollection.
		/// </param>
		public virtual void AddRange(TableCollection items)
		{
			foreach (Table item in items)
			{
				this.List.Add(item);
			}
		}
Esempio n. 3
0
File: Table.cs Progetto: npenin/uss
			/// <summary>
			/// 
			/// </summary>
			/// <param name="collection"></param>
			public Enumerator(TableCollection collection)
			{
				this.wrapped = ((CollectionBase)collection).GetEnumerator();
			}