Exemplo n.º 1
0
 /// <summary>
 /// VisibleForTesting </summary>
 /// <param name="partsFactory">
 ///            the factory of parts necessary to create the rest fixture </param>
 /// <param name="hostName"> </param>
 /// <param name="configName"> </param>
 internal RestFixture(PartsFactory partsFactory, string hostName, string configName)
 {
     _restFixture = new CommonRestFixture <string>(partsFactory, hostName, configName);
 }
Exemplo n.º 2
0
 public ToyotaCar(PartsFactory factory, string model) : base("Toyota", model)
 {
     _factory = factory;
     Console.WriteLine($"Toyota car model {model} is builded");
 }
Exemplo n.º 3
0
 public BmwCar(PartsFactory factory, string model) : base("BMW", model)
 {
     _factory = factory;
     Console.WriteLine($"BMW car model {model} is builded");
 }