예제 #1
0
 public void Register(TimeManager timeManager)
 {
     timeManager.TimeIsOver += SubscriberMsg;
 }
예제 #2
0
 public void Unregister(TimeManager timeManager)
 {
     timeManager.TimeIsOver -= SubscriberMsg;
 }
예제 #3
0
 public SubscriberTwo(TimeManager timeManager)
 {
     Register(timeManager);
 }