示例#1
0
 public void subscribe(ConveyorBelt conveyor)
 {
     conveyor.EventsMachine += OnSubscribedEventMachine;
 }
示例#2
0
 public void Subscribe(ConveyorBelt cb)
 {
     Console.WriteLine("Manager subscribed to Conveyor Belt");
     cb.EventsManager += OnConveyorBeltEvent;
 }