public Client(AbstractFactory factory) { _abstractProductA = factory.CreateProductA(); _abstractProductB = factory.CreateProductB(); }
public Client(AbstractFactory f) { AbstractProducta = f.CreateProductA(); AbstractProductb = f.CreateProductB(); }
public Client(AbstractFactory factory) { water = factory.CreateWater(); bottle = factory.CreateBottle(); }
public Client(AbstractFactory factory) { _abstractProductA = factory.CreateProductA(); _abstractProductB = factory.CreateProductB(); }