private void RunnerMessage(object sender, BackwardClockEventArgs e)
 {
     _outString = $"The runner sportsmen finished after {e.Seconds} seconds";
 }
Esempio n. 2
0
 /// <summary>
 /// Returns result string describing the object state
 /// </summary>
 private void SwimmingMessage(object sender, BackwardClockEventArgs e)
 {
     _outString = $"The swiming sportsmen finished after {e.Seconds} seconds";
 }
Esempio n. 3
0
 /// <summary>
 /// Method that invokes event delegate
 /// </summary>
 protected virtual void OnFinished(object sender, BackwardClockEventArgs e)
 {
     Finished?.Invoke(sender, e);
 }