public SchedulerPresenter(ISchedulerRepo r, ISchedulerform v, int pid)
 {
     _r       = r;
     _v       = v;
     factory  = new ScheduleFactory();
     this.pid = pid;
 }
Example #2
0
 private EventScheduler(ILogFile log)
 {
     _log = log;
     _repo = SchedulerRepo.NewSync();
     _thr = ForeverThread.New(thread_loop, log);
     _hasNewTriger = new AutoResetEvent(false);
 }
Example #3
0
 public static ISchedulerRepo New(ISchedulerRepo impl)
 {
     return new SyncSchedulerRepo(impl);
 }
Example #4
0
 private SyncSchedulerRepo(ISchedulerRepo impl)
 {
     _impl = impl;
 }