Exemple #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);
 }
 public QueryRepository(IFixtureFactory fixtureFactory)
 {
     _fixtureFactory = fixtureFactory;
 }
Exemple #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);
 }
Exemple #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));
 }
		/// <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);
		}
		/// <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);
		}
		/// <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);
		}