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