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