Пример #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 void AddRange(EventDeclarationCollection items)
 {
     foreach (EventDeclaration item in items)
     {
         this.List.Add(item);
     }
 }
Пример #2
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);
 }
Пример #3
0
 public Enumerator(EventDeclarationCollection collection)
 {
     wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }