Пример #1
0
 public Client(AbstractFactory f)
 {
     AbstractProducta = f.CreateProductA();
     AbstractProductb = f.CreateProductB();
 }
 public Client(AbstractFactory factory)
 {
     _abstractProductA = factory.CreateProductA();
     _abstractProductB = factory.CreateProductB();
 }
 public Client(AbstractFactory factory)
 {
     _abstractProductA = factory.CreateProductA();
     _abstractProductB = factory.CreateProductB();
 }