protected void CheckPaused() { if (WorkPaused != null) { WorkPaused(this, WorkPausedEventArgs.PausedArgs(ID)); } }
public void Pause() { Logger.Log(this, logType.paused, ""); pauseTrigger.Reset(); _paused = true; if (WorkPaused != null) { WorkPaused(this, WorkPausedEventArgs.PausedArgs(ID)); } }