public Client(AbstractFactory factory)
 {
     productA = factory.CreateProductA();
     productB = factory.CreateProductB();
 }
Exemple #2
0
 public Client(AbstractFactory factory)
 {
     productA = factory.CreateProductA();
     productB = factory.CreateProductB();
 }