public StoreClient(IClothsFactory clothsFactory, string type) { jeans = clothsFactory.GetJeans(type); shirt = clothsFactory.GetShirt(type); }
public Cient(IClothesFactory factory) { _shirt = factory.CreateShirt(); _trousers = factory.CreateTrousers(); }
public AbstractFactoryDP(IClothesFactory factory) { _shirt = factory.CreateShirt(); _trousers = factory.CreateTrousers(); }