예제 #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);
     }
 }
예제 #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);
 }
예제 #3
0
 public Enumerator(TypeDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
예제 #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);
 }
예제 #5
0
 public Enumerator(TypeDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
예제 #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);
     }
 }