Exemple #1
0
 public ServiceStatusWaiter(string taskDescription, IAutoResetEvent autoResetEvent, ITimerFactory timerFactory,
                            ServiceStatusProvider serviceStatusProvider, string serviceName)
     : base(taskDescription, autoResetEvent, timerFactory)
 {
     _serviceStatusProvider = serviceStatusProvider;
     _serviceName           = serviceName;
 }
Exemple #2
0
 public SchedulerWaiter(Func <IJobServer> jobServerProvider, IAutoResetEvent autoResetEvent,
                        ITimerFactory timerFactory, IMessagePresenter messagePresenter)
     : base("status", autoResetEvent, timerFactory)
 {
     _jobServerProvider = jobServerProvider;
     _messagePresenter  = messagePresenter;
 }
Exemple #3
0
 public SchedulerWaiter(Func <IJobServer> jobServerProvider, IAutoResetEvent autoResetEvent,
                        ITimerFactory timerFactory, JobRunStatusPresenter jobRunStatusPresenter)
     : base("status", autoResetEvent, timerFactory)
 {
     _jobServerProvider     = jobServerProvider;
     _jobRunStatusPresenter = jobRunStatusPresenter;
 }
Exemple #4
0
 protected StatusWaiter(string taskDescription, IAutoResetEvent autoResetEvent, ITimerFactory timerFactory)
 {
     _taskDescription = taskDescription;
     _autoResetEvent  = autoResetEvent;
     _timerFactory    = timerFactory;
 }