Пример #1
0
 public void NotifyReady(IFood food)
 {
     FoodReady?.Invoke(this, new FoodReadyEventArgs(food));
 }
 protected virtual void OnFoodReadyToBeServed()
 {
     FoodReady?.Invoke(this, EventArgs.Empty);
 }