Esempio n. 1
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;
 }
Esempio n. 2
0
 public NotificationsQueue(
     IApplicationRepositoryFactory repoFactory,
     IOptions <NotificationsOptions> options,
     EmailQueue emailQueue,
     SmsQueue smsQueue,
     PushNotificationQueue pushQueue,
     IEmailSender emailSender,
     ISmsSender smsSender,
     IBlobService blobService)
 {
     _options     = options.Value;
     _repoFactory = repoFactory;
     _emailQueue  = emailQueue;
     _smsQueue    = smsQueue;
     _pushQueue   = pushQueue;
     _emailSender = emailSender;
     _smsSender   = smsSender;
     _blobService = blobService;
 }