Beispiel #1
0
 public void AddTopping(Topping topping)
 {
     AllToppings.Add(topping);
     NotifyOfPropertyChange("AllToppings");
     NotifyOfPropertyChange("Price");
 }
Beispiel #2
0
 public void RemoveTopping(Topping topping)
 {
     AllToppings.Remove(topping);
     NotifyOfPropertyChange("AllToppings");
     NotifyOfPropertyChange("Price");
 }
Beispiel #3
0
 /// <summary>
 ///
 /// </summary>
 protected override void AddToppings()
 {
     Toppings = AllToppings.GetRange(0, 5);
 }