Exemplo n.º 1
0
 /// <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 void AddRange(ConstructorDeclarationCollection items)
 {
     foreach (ConstructorDeclaration item in items)
     {
         this.List.Add(item);
     }
 }
Exemplo n.º 2
0
 /// <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);
 }
Exemplo n.º 3
0
 public Enumerator(ConstructorDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }