Esempio n. 1
0
 /// <summary>
 /// Raises event 'Interval'
 /// </summary>
 protected virtual void OnIntervalElapsed()
 {
     if (IntervalElapsed != null)
     {
         IntervalElapsed.Invoke(this, System.EventArgs.Empty);
     }
 }
Esempio n. 2
0
 private void OnPollingTimerElapsed(object sender, ElapsedEventArgs e)
 {
     IntervalElapsed?.Invoke();
 }
Esempio n. 3
0
 private void dispatcherTimer_Tick(object sender, EventArgs e)
 {
     ++m_elapsed;
     IntervalElapsed?.Invoke(this, null);
 }