private void ProcessEvent(TimerEventArgs e, EventHandler <TimerEventArgs> h) { EventHandler <TimerEventArgs> handler = h; handler?.Invoke(this, e); }
private void OnRunTimerEvent(TimerEventArgs e) { ProcessEvent(e, RunTimerEvent); }
private void OnEndTimerEvent(TimerEventArgs e) { ProcessEvent(e, EndTimerEvent); }
private void OnInitTimerEvent(TimerEventArgs e) { ProcessEvent(e, InitTimerEvent); }