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