/// <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);
     }
 }
コード例 #2
0
 /// <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);
 }
コード例 #3
0
 public Enumerator(IndexerDeclarationCollection collection)
 {
     this.wrapped = ((System.Collections.CollectionBase)collection).GetEnumerator();
 }
コード例 #4
0
 /// <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();
 }