Exemplo n.º 1
0
 /// <summary>
 /// Adds the elements of another TypeDeclarationCollection to the end of this TypeDeclarationCollection.
 /// </summary>
 /// <param name="items">
 /// The TypeDeclarationCollection whose elements are to be added to the end of this TypeDeclarationCollection.
 /// </param>
 public virtual void AddRange(TypeDeclarationCollection items)
 {
     foreach (ITypeDeclaration item in items)
     {
         this.List.Add(item);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the TypeDeclarationCollection class, containing elements
 /// copied from another instance of TypeDeclarationCollection
 /// </summary>
 /// <param name="items">
 /// The TypeDeclarationCollection whose elements are to be added to the new TypeDeclarationCollection.
 /// </param>
 public TypeDeclarationCollection(TypeDeclarationCollection items)
 {
     this.AddRange(items);
 }
Exemplo n.º 3
0
 public Enumerator(TypeDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the TypeDeclarationCollection class, containing elements
 /// copied from another instance of TypeDeclarationCollection
 /// </summary>
 /// <param name="items">
 /// The TypeDeclarationCollection whose elements are to be added to the new TypeDeclarationCollection.
 /// </param>
 public TypeDeclarationCollection(TypeDeclarationCollection items)
 {
     this.AddRange(items);
 }
Exemplo n.º 5
0
 public Enumerator(TypeDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
Exemplo n.º 6
0
 /// <summary>
 /// Adds the elements of another TypeDeclarationCollection to the end of this TypeDeclarationCollection.
 /// </summary>
 /// <param name="items">
 /// The TypeDeclarationCollection whose elements are to be added to the end of this TypeDeclarationCollection.
 /// </param>
 public virtual void AddRange(TypeDeclarationCollection items)
 {
     foreach (ITypeDeclaration item in items)
     {
         this.List.Add(item);
     }
 }