/// <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); }
/// <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); } }
/// <summary> /// /// </summary> /// <param name="collection"></param> public Enumerator(TableCollection collection) { this.wrapped = ((CollectionBase)collection).GetEnumerator(); }