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