Beispiel #1
0
 public Client(AbstractFactory.AbstractFactory factory)
 {
     _abstractProductA = factory.CreateProductA();
     _abstractProductB = factory.CreateProductB();
 }
Beispiel #2
0
 public Foreman(Builder builder, AbstractFactory.AbstractFactory factory)
 {
     this.builder    = builder;
     abstractFactory = factory;
 }