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