예제 #1
0
 /// <summary>
 /// Method for unsubscribing from event
 /// </summary>
 /// <param name="reverseWatch">Instance of Countdown</param>
 public void Unregister(ReverseWatch reverseWatch) => reverseWatch.Countdown -= CountdownOver;
예제 #2
0
 /// <summary>
 /// Method for subscribing for event
 /// </summary>
 /// <param name="reverseWatch">Instance of Countdown</param>
 public void Register(ReverseWatch reverseWatch) => reverseWatch.Countdown += CountdownOver;