コード例 #1
0
 public EmailJob(IOptions <JobsOptions> options, EmailQueue queue, IEmailSender emailSender, ILogger <EmailJob> logger, ApplicationRepositoryLite repo)
 {
     _options     = options.Value;
     _queue       = queue;
     _emailSender = emailSender;
     _logger      = logger;
     _repo        = repo;
 }
コード例 #2
0
ファイル: SmsPollingJob.cs プロジェクト: lulzzz/tellma
 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;
 }
コード例 #3
0
ファイル: HeartbeatJob.cs プロジェクト: lulzzz/tellma
 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;
 }
コード例 #4
0
ファイル: SmsJob.cs プロジェクト: lulzzz/tellma
 public SmsJob(IOptions <JobsOptions> options, SmsQueue queue, ISmsSender smsSender, ILogger <SmsJob> logger, ApplicationRepositoryLite repo)
 {
     _options   = options.Value;
     _queue     = queue;
     _smsSender = smsSender;
     _logger    = logger;
     _repo      = repo;
 }
コード例 #5
0
 public ExternalNotificationsService(ApplicationRepositoryLite repo, IOptions <JobsOptions> options, EmailQueue emailQueue, SmsQueue smsQueue, PushNotificationQueue pushQueue)
 {
     _repo       = repo;
     _options    = options.Value;
     _emailQueue = emailQueue;
     _smsQueue   = smsQueue;
     _pushQueue  = pushQueue;
 }