public abstract void Pour(AbstractLiquid liquid);
Exemplo n.º 2
0
 public override void Pour(AbstractLiquid liquid) =>
 Console.WriteLine($"Pouring {liquid} into {this}...");
 public SoftDrinkAssembler(SoftDrinkFactory factory)
 {
     _bottle = factory.CreateBottle();
     _liquid = factory.CreateLiquid();
 }