Exemplo n.º 1
0
 public ChocolateCroissant(MachineService service, decimal price, CroissantCustomization customization)
 {
     Service       = service;
     Price         = price;
     Customization = customization;
 }
Exemplo n.º 2
0
 public override Croissant GetCroissant(MachineService service, CroissantCustomization customization)
 {
     return(new ChocolateCroissant(service, 10, customization));
 }
Exemplo n.º 3
0
 public abstract Croissant GetCroissant(MachineService service, CroissantCustomization customization);