public Client(ClothesFactory factory) { _shirt = factory.CreateShirt(); _pants = factory.CreatePants(); }
public CreateClothes(ClothesFactory clothes) { myCoat = clothes.CreateCoat(); myPants = clothes.CreatePants(); }