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