コード例 #1
0
 /// <summary>
 /// Adds an instance of type IRunPipeListener to the end of this RunPipeListenerCollection.
 /// </summary>
 /// <param name="value">
 /// The IRunPipeListener to be added to the end of this RunPipeListenerCollection.
 /// </param>
 public void Add(IRunPipeListener value)
 {
     if (value == null)
     {
         throw new ArgumentNullException("value");
     }
     this.List.Add(value);
 }
コード例 #2
0
 /// <summary>
 /// Removes the first occurrence of a specific IRunPipeListener from this RunPipeListenerCollection.
 /// </summary>
 /// <param name="value">
 /// The IRunPipeListener value to remove from this RunPipeListenerCollection.
 /// </param>
 public void Remove(IRunPipeListener value)
 {
     this.List.Remove(value);
 }
コード例 #3
0
 /// <summary>
 /// Determines whether a specfic IRunPipeListener value is in this RunPipeListenerCollection.
 /// </summary>
 /// <param name="value">
 /// The IRunPipeListener value to locate in this RunPipeListenerCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this RunPipeListenerCollection;
 /// false otherwise.
 /// </returns>
 public bool Contains(IRunPipeListener value)
 {
     return(this.List.Contains(value));
 }
コード例 #4
0
		/// <summary>
		/// Removes the first occurrence of a specific IRunPipeListener from this RunPipeListenerCollection.
		/// </summary>
		/// <param name="value">
		/// The IRunPipeListener value to remove from this RunPipeListenerCollection.
		/// </param>
		public void Remove(IRunPipeListener value)
		{
			this.List.Remove(value);
		}
コード例 #5
0
		/// <summary>
		/// Determines whether a specfic IRunPipeListener value is in this RunPipeListenerCollection.
		/// </summary>
		/// <param name="value">
		/// The IRunPipeListener value to locate in this RunPipeListenerCollection.
		/// </param>
		/// <returns>
		/// true if value is found in this RunPipeListenerCollection;
		/// false otherwise.
		/// </returns>
		public bool Contains(IRunPipeListener value)
		{
			return this.List.Contains(value);
		}
コード例 #6
0
		/// <summary>
		/// Adds an instance of type IRunPipeListener to the end of this RunPipeListenerCollection.
		/// </summary>
		/// <param name="value">
		/// The IRunPipeListener to be added to the end of this RunPipeListenerCollection.
		/// </param>
		public void Add(IRunPipeListener value)
		{
            if (value == null)
                throw new ArgumentNullException("value");
            this.List.Add(value);
		}