Exemplo n.º 1
0
 public TaskScheduler()
 {
     _settings = ServiceRegistration.Get <ISettingsManager>().Load <TaskSchedulerSettings>();
     SaveChanges(false);
     _wakeUpTimer = new TaskWaitableTimer();
     _wakeUpTimer.OnTimerExpired += OnResume;
     _messageQueue = new AsynchronousMessageQueue(this, new[] { SystemMessaging.CHANNEL });
     _messageQueue.MessageReceived += OnMessageReceived;
     // Message queue will be started in Startup()
 }
Exemplo n.º 2
0
 public TaskScheduler()
 {
   _settings = ServiceRegistration.Get<ISettingsManager>().Load<TaskSchedulerSettings>();
   SaveChanges(false);
   _wakeUpTimer = new TaskWaitableTimer();
   _wakeUpTimer.OnTimerExpired += OnResume;
   _messageQueue = new AsynchronousMessageQueue(this, new[] { SystemMessaging.CHANNEL });
   _messageQueue.MessageReceived += OnMessageReceived;
   // Message queue will be started in Startup()
 }
Exemplo n.º 3
0
 public TaskScheduler()
 {
   _settings = ServiceRegistration.Get<ISettingsManager>().Load <TaskSchedulerSettings>();
   SaveChanges(false);
 }
Exemplo n.º 4
0
 public TaskScheduler()
 {
     _settings = ServiceRegistration.Get <ISettingsManager>().Load <TaskSchedulerSettings>();
     SaveChanges(false);
 }