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