Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public static IObservable <(TAction action, CancelEventArgs e)> WhenExecuting <TAction>(this TAction action) where TAction : ActionBase
Ejemplo n.º 3
0
 public SingleRunMethod(TAction <object> watchHandler) : this(watchHandler, 100)
 {
 }