public void Stop() { _state = RecoveryManagerState.Stopped; _timer.Change(Timeout.Infinite, 0); }
public void Start(int intervalMinutes) { _waitMinutes = intervalMinutes; _state = RecoveryManagerState.Started; _timer.Change(0, WaitMiliseconds); }