/// <summary> /// 暂停 /// </summary> public async Task PauseAsync() { if (_scheduler == null) { return; } await _scheduler.PauseAll(); }
public virtual void Pause() { scheduler.PauseAll(); }
public void Dispose() { Scheduler.PauseAll(); Scheduler.Shutdown(false); }
protected override void OnPause() { scheduler.PauseAll(); }