Exemplo n.º 1
0
 public Client(AbstractFactory abstractFactory)
 {
     water = abstractFactory.CreateWater();
     bottle = abstractFactory.CreateBottle();
     cover = abstractFactory.CreateCover();
 }
Exemplo n.º 2
0
 public Client(AbstractFactory abstractFactory)
 {
     water  = abstractFactory.CreateWater();
     bottle = abstractFactory.CreateBottle();
     cover  = abstractFactory.CreateCover();
 }