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