Exemple #1
0
 public Client(AbstractFactory factory)
 {
     abstractProductB = factory.CreateProductB();
     abstractProductA = factory.CreateProductA();
 }
Exemple #2
0
 public Client(AbstractFactory factory)
 {
     abstractProductB = factory.CreateProductB();
     abstractProductA = factory.CreateProductA();
 }