/// <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); } }
/// <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) { wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator(); }