Example #1
0
 public IPizza As(IPizzaType pizzaType) => pizzaType.Create(_toppings.Copy());
Example #2
0
 public IPizza AddTopping(ITopping topping) => _type.Create(_toppings.Add(topping));