Exemple #1
0
 static public void UnSubscribe(PizzeriaLogic pizzeriaLogic)
 {
     pizzeriaLogic.OnOrder -= GetReady;
 }
Exemple #2
0
 static public void Subscribe(Order order, PizzeriaLogic pizzeriaLogic)
 {
     _order = order;
     pizzeriaLogic.OnOrder += GetReady;
 }