Beispiel #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);
     }
 }
		/// <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);
			}
		}
Beispiel #3
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);
 }
Beispiel #4
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();
			}