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