예제 #1
0
 public Client(AbstractFactory factory)
 {
     absProductA = factory.CreateProductA();
     absProductB = factory.CreateProductB();
 }
예제 #2
0
 public Client(AbstractFactory factory)
 {
     absProductA = factory.CreateProductA();
     absProductB = factory.CreateProductB();
 }