private static void OnStopping(RunningModeEventArgs args) { StoppingEvent?.Invoke(null, args); }
private static void OnResuming(RunningModeEventArgs args) { RunningEvent?.Invoke(null, args); }
private static void OnPausing(RunningModeEventArgs args) { PausingEvent?.Invoke(null, args); }