示例#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;
 }
示例#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;
 }