Esempio n. 1
0
 public Service(Logger logger, ISchedulerFactory schedulerFactory, IJobFactory jobFactory, IJobActivator jobActivator, IEnumerable <IJobConfiguration> jobsConfig, WcfServiceHostFactory serviceHostFactory)
 {
     _logger             = logger;
     _schedulerFactory   = schedulerFactory;
     _jobFactory         = jobFactory;
     _jobActivator       = jobActivator;
     _jobsConfig         = jobsConfig;
     _serviceHostFactory = serviceHostFactory;
     ServiceName         = Program.ServiceName;
 }
Esempio n. 2
0
 public Service(Logger logger, ISchedulerFactory schedulerFactory, IJobFactory jobFactory, IJobActivator jobActivator, IEnumerable<IJobConfiguration> jobsConfig, WcfServiceHostFactory serviceHostFactory)
 {
     _logger = logger;
     _schedulerFactory = schedulerFactory;
     _jobFactory = jobFactory;
     _jobActivator = jobActivator;
     _jobsConfig = jobsConfig;
     _serviceHostFactory = serviceHostFactory;
     ServiceName = Program.ServiceName;
 }