Example #1
0
 /// <summary>
 /// Gets called when the timer ticks (and it isn't paused). Handles invoking the onTimerTicked delegate.
 /// </summary>
 private void InvokeTickedDelegate()
 {
     if (onTimerTicked != null)
     {
         onTimerTicked.Invoke();
     }
 }
 private void NotifyTimerElapsed(Object source, ElapsedEventArgs e)
 {
     OnTimerTicked?.Invoke();
 }