예제 #1
0
 public RepeatedTask(Action action, int sleepTime)
 {
     job  = action;
     task = new DelayedTask(main, sleepTime);
 }
예제 #2
0
 public JobDequeuer(int sleepMilliseconds)
 {
     list  = new List <TJob>();
     timer = new DelayedTask(check, sleepMilliseconds);
     timer.Start();
 }