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