Esempio n. 1
0
 public SmsPollingJob(IOptions <JobsOptions> options, SmsQueue queue, InstanceInfoProvider instanceInfo, ApplicationRepositoryLite repo, ILogger <SmsJob> logger)
 {
     _options      = options.Value;
     _queue        = queue;
     _instanceInfo = instanceInfo;
     _repo         = repo;
     _logger       = logger;
 }
Esempio n. 2
0
 public HeartbeatJob(AdminRepositoryLite repo, ILogger <HeartbeatJob> logger, IServiceProvider services, InstanceInfoProvider instanceInfo, IOptions <JobsOptions> options)
 {
     _repo         = repo;
     _logger       = logger;
     _services     = services;
     _instanceInfo = instanceInfo;
     _options      = options.Value;
 }