public void Resume() { if (!_paused) { throw new InvalidOperationException("AlarmClock is not paused!"); } _paused = false; }
/// <summary> /// Resumes the normal operations of the engine. /// </summary> public void Resume() { if (_paused) { _clock.Resume(); _paused = false; } }