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