/// <summary>
		/// Adds the elements of an array to the end of this ThrowedExceptionDeclarationCollection.
		/// </summary>
		/// <param name="items">
		/// The array whose elements are to be added to the end of this ThrowedExceptionDeclarationCollection.
		/// </param>
		public virtual void AddRange(ThrowedExceptionDeclaration[] items)
		{
			foreach (ThrowedExceptionDeclaration item in items)
			{
				this.List.Add(item);
			}
		}
コード例 #2
0
 /// <summary>
 /// Determines whether a specfic ThrowedExceptionDeclaration value is in this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to locate in this ThrowedExceptionDeclarationCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this ThrowedExceptionDeclarationCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(ThrowedExceptionDeclaration value)
 {
     return(this.List.Contains(value));
 }
コード例 #3
0
ファイル: Documentation.cs プロジェクト: spib/nhcontrib
 public void AddException(ThrowedExceptionDeclaration ex)
 {
     AddException(ex.ExceptionType,ex.Description);
 }
コード例 #4
0
 /// <summary>
 /// Adds an instance of type ThrowedExceptionDeclaration to the end of this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration to be added to the end of this ThrowedExceptionDeclarationCollection.
 /// </param>
 public virtual void Add(ThrowedExceptionDeclaration value)
 {
     this.List.Add(value);
 }
コード例 #5
0
 /// <summary>
 /// Initializes a new instance of the ThrowedExceptionDeclarationCollection class, containing elements
 /// copied from an array.
 /// </summary>
 /// <param name="items">
 /// The array whose elements are to be added to the new ThrowedExceptionDeclarationCollection.
 /// </param>
 public ThrowedExceptionDeclarationCollection(ThrowedExceptionDeclaration[] items)
 {
     this.AddRange(items);
 }
コード例 #6
0
 /// <summary>
 /// Removes the first occurrence of a specific ThrowedExceptionDeclaration from this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to remove from this ThrowedExceptionDeclarationCollection.
 /// </param>
 public virtual void Remove(ThrowedExceptionDeclaration value)
 {
     this.List.Remove(value);
 }
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this ThrowedExceptionDeclarationCollection
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to locate in the ThrowedExceptionDeclarationCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public int IndexOf(ThrowedExceptionDeclaration value)
 {
     return(List.IndexOf(value));
 }
コード例 #8
0
 /// <summary>
 /// Removes the first occurrence of a specific ThrowedExceptionDeclaration from this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to remove from this ThrowedExceptionDeclarationCollection.
 /// </param>
 public virtual void Remove(ThrowedExceptionDeclaration value)
 {
     this.List.Remove(value);
 }
コード例 #9
0
 /// <summary>
 /// Determines whether a specfic ThrowedExceptionDeclaration value is in this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to locate in this ThrowedExceptionDeclarationCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this ThrowedExceptionDeclarationCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(ThrowedExceptionDeclaration value)
 {
     return this.List.Contains(value);
 }
コード例 #10
0
 public void AddException(ThrowedExceptionDeclaration ex)
 {
     AddException(ex.ExceptionType, ex.Description);
 }
 /// <summary>
 /// Adds an instance of type ThrowedExceptionDeclaration to the end of this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration to be added to the end of this ThrowedExceptionDeclarationCollection.
 /// </param>
 public void Add(ThrowedExceptionDeclaration value)
 {
     List.Add(value);
 }
 /// <summary>
 /// Removes the first occurrence of a specific ThrowedExceptionDeclaration from this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to remove from this ThrowedExceptionDeclarationCollection.
 /// </param>
 public void Remove(ThrowedExceptionDeclaration value)
 {
     List.Remove(value);
 }
 /// <summary>
 /// Inserts an element into the ThrowedExceptionDeclarationCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the ThrowedExceptionDeclaration is to be inserted.
 /// </param>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration to insert.
 /// </param>
 public void Insert(int index, ThrowedExceptionDeclaration value)
 {
     List.Insert(index, value);
 }
コード例 #14
0
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this ThrowedExceptionDeclarationCollection
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to locate in the ThrowedExceptionDeclarationCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(ThrowedExceptionDeclaration value)
 {
     return(this.List.IndexOf(value));
 }
コード例 #15
0
 /// <summary>
 /// Return the zero-based index of the first occurrence of a specific value
 /// in this ThrowedExceptionDeclarationCollection
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to locate in the ThrowedExceptionDeclarationCollection.
 /// </param>
 /// <returns>
 /// The zero-based index of the first occurrence of the _ELEMENT value if found;
 /// -1 otherwise.
 /// </returns>
 public virtual int IndexOf(ThrowedExceptionDeclaration value)
 {
     return this.List.IndexOf(value);
 }
コード例 #16
0
 /// <summary>
 /// Inserts an element into the ThrowedExceptionDeclarationCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the ThrowedExceptionDeclaration is to be inserted.
 /// </param>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration to insert.
 /// </param>
 public virtual void Insert(int index, ThrowedExceptionDeclaration value)
 {
     this.List.Insert(index, value);
 }
コード例 #17
0
 /// <summary>
 /// Inserts an element into the ThrowedExceptionDeclarationCollection at the specified index
 /// </summary>
 /// <param name="index">
 /// The index at which the ThrowedExceptionDeclaration is to be inserted.
 /// </param>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration to insert.
 /// </param>
 public virtual void Insert(int index, ThrowedExceptionDeclaration value)
 {
     this.List.Insert(index, value);
 }
コード例 #18
0
 /// <summary>
 /// Adds an instance of type ThrowedExceptionDeclaration to the end of this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration to be added to the end of this ThrowedExceptionDeclarationCollection.
 /// </param>
 public virtual void Add(ThrowedExceptionDeclaration value)
 {
     this.List.Add(value);
 }
 /// <summary>
 /// Determines whether a specfic ThrowedExceptionDeclaration value is in this ThrowedExceptionDeclarationCollection.
 /// </summary>
 /// <param name="value">
 /// The ThrowedExceptionDeclaration value to locate in this ThrowedExceptionDeclarationCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this ThrowedExceptionDeclarationCollection;
 /// false otherwise.
 /// </returns>
 public bool Contains(ThrowedExceptionDeclaration value)
 {
     return(List.Contains(value));
 }