Пример #1
0
 public SingleRunMethod(TAction <object> watchHandler, int timerInterval)
 {
     m_timer        = new System.Threading.Timer(new TimerCallback(OnTimer), null, Timeout.Infinite, Timeout.Infinite);
     _timeoutmillis = timerInterval;
     _methodHandler = watchHandler;
 }
Пример #2
0
 public static IObservable <(TAction action, CancelEventArgs e)> WhenExecuting <TAction>(this TAction action) where TAction : ActionBase
Пример #3
0
 public SingleRunMethod(TAction <object> watchHandler) : this(watchHandler, 100)
 {
 }