public Client(AbstractFactory factory) { // јбстрагирование процесса инстанцировани¤. water = factory.CreateWater(); bottle = factory.CreateBottle(); cover = factory.CreateCover(); }
public Client(AbstractFactory factory) { water = factory.CreateWater(); bottle = factory.CreateBottle(); label = factory.CreateLabel(); cover = factory.CreateCover(); }
public Client(AbstractFactory factory) { // јбстрагирование процесса инстанцировани¤. water = factory.CreateWater(); bottle = factory.CreateBottle(); cover = factory.CreateCover(); }
public Client(AbstractFactory factory) { water = factory.CreateWater(); bottle = factory.CreateBottle(); }
public Client(AbstractFactory factory) { water = factory.CreateWater(); bottle = factory.CreateBottle(); }
public void ChangeFactory(AbstractFactory factory) { this.factory = factory; water = factory.CreateWater(); bottle = factory.CreateBottle(); }
public Client(AbstractFactory factory) { this._cover = factory.CreateCover(); this._bottle = factory.CreateBottle(); this._water = factory.CreateWater(); }