コード例 #1
0
		/// <summary>
		/// Adds the elements of an array to the end of this TestTreePopulatorCollection.
		/// </summary>
		/// <param name="items">
		/// The array whose elements are to be added to the end of this TestTreePopulatorCollection.
		/// </param>
		public virtual void AddRange(ITestTreePopulator[] items)
		{
			foreach (TestTreePopulator item in items)
			{
				this.List.Add(item);
			}
		}
コード例 #2
0
 /// <summary>
 /// Removes the first occurrence of a specific TestTreePopulator from this TestTreePopulatorCollection.
 /// </summary>
 /// <param name="value">
 /// The TestTreePopulator value to remove from this TestTreePopulatorCollection.
 /// </param>
 public virtual void Remove(ITestTreePopulator value)
 {
     this.List.Remove(value);
 }
コード例 #3
0
 /// <summary>
 /// Determines whether a specfic TestTreePopulator value is in this TestTreePopulatorCollection.
 /// </summary>
 /// <param name="value">
 /// The TestTreePopulator value to locate in this TestTreePopulatorCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this TestTreePopulatorCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(ITestTreePopulator value)
 {
     return(this.List.Contains(value));
 }
コード例 #4
0
 /// <summary>
 /// Adds an instance of type TestTreePopulator to the end of this TestTreePopulatorCollection.
 /// </summary>
 /// <param name="value">
 /// The TestTreePopulator to be added to the end of this TestTreePopulatorCollection.
 /// </param>
 public virtual void Add(ITestTreePopulator value)
 {
     this.List.Add(value);
 }
コード例 #5
0
 /// <summary>
 /// Adds an instance of type TestTreePopulator to the end of this TestTreePopulatorCollection.
 /// </summary>
 /// <param name="value">
 /// The TestTreePopulator to be added to the end of this TestTreePopulatorCollection.
 /// </param>
 public virtual void Add(ITestTreePopulator value)
 {
     this.List.Add(value);
 }
コード例 #6
0
 /// <summary>
 /// Initializes a new instance of the TestTreePopulatorCollection class, containing elements
 /// copied from an array.
 /// </summary>
 /// <param name="items">
 /// The array whose elements are to be added to the new TestTreePopulatorCollection.
 /// </param>
 public TestTreePopulatorCollection(ITestTreePopulator[] items)
 {
     this.AddRange(items);
 }
コード例 #7
0
 /// <summary>
 /// Removes the first occurrence of a specific TestTreePopulator from this TestTreePopulatorCollection.
 /// </summary>
 /// <param name="value">
 /// The TestTreePopulator value to remove from this TestTreePopulatorCollection.
 /// </param>
 public virtual void Remove(ITestTreePopulator value)
 {
     this.List.Remove(value);
 }
コード例 #8
0
 /// <summary>
 /// Determines whether a specfic TestTreePopulator value is in this TestTreePopulatorCollection.
 /// </summary>
 /// <param name="value">
 /// The TestTreePopulator value to locate in this TestTreePopulatorCollection.
 /// </param>
 /// <returns>
 /// true if value is found in this TestTreePopulatorCollection;
 /// false otherwise.
 /// </returns>
 public virtual bool Contains(ITestTreePopulator value)
 {
     return this.List.Contains(value);
 }