Exemple #1
0
 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));
         }
     }
 }
Exemple #2
0
 public void Reset()
 {
     lock (Mutex)
     {
         if (m_RaiseTimer != null)
         {
             m_RaiseTimer.Dispose();
             m_RaiseTimer = null;
             m_RaiseTimer = new WrappedTimer(PlanTimerCallBack, null, GetNextRaisePeriod(false), RepeatInterval);
         }
     }
 }