public void Reset() { lock (Mutex) { if (m_RaiseTimer != null) { m_RaiseTimer.Dispose(); m_RaiseTimer = null; m_RaiseTimer = new WrappedTimer(PlanTimerCallBack, null, GetNextRaisePeriod(), TimeSpan.FromDays(1)); } } }
public void Reset() { lock (Mutex) { if (m_RaiseTimer != null) { m_RaiseTimer.Dispose(); m_RaiseTimer = null; m_RaiseTimer = new WrappedTimer(PlanTimerCallBack, null, GetNextRaisePeriod(false), RepeatInterval); } } }