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