コード例 #1
0
 public void RemoveTopping(Topping topping)
 {
     AllToppings.Remove(topping);
     NotifyOfPropertyChange("AllToppings");
     NotifyOfPropertyChange("Price");
 }
コード例 #2
0
 public void AddTopping(Topping topping)
 {
     AllToppings.Add(topping);
     NotifyOfPropertyChange("AllToppings");
     NotifyOfPropertyChange("Price");
 }