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