示例#1
0
 public Dispatcher(IPlatformThreadingInterface platform)
 {
     _platform = platform;
     if(_platform == null)
         //TODO: Unit test mode, fix that somehow
         return;
     _jobRunner = new JobRunner(platform);
     _platform.Signaled += _jobRunner.RunJobs;
 }
 public ThreadingInterface()
 {
     _timerJobRunner = new JobRunner(this);
 }