Ejemplo n.º 1
0
 public CreateSmsNotificationEventHandler(
     ICurrentTenant currentTenant,
     IGuidGenerator guidGenerator,
     IBackgroundJobManager backgroundJobManager,
     INotificationRepository notificationRepository,
     INotificationInfoRepository notificationInfoRepository)
 {
     _currentTenant              = currentTenant;
     _guidGenerator              = guidGenerator;
     _backgroundJobManager       = backgroundJobManager;
     _notificationRepository     = notificationRepository;
     _notificationInfoRepository = notificationInfoRepository;
 }
 public EmailNotificationSendingJob(
     INotificationInfoRepository notificationInfoRepository,
     IUserEmailAddressProvider userEmailAddressProvider,
     INotificationRepository notificationRepository,
     IEmailSender emailSender,
     IClock clock)
 {
     _notificationInfoRepository = notificationInfoRepository;
     _userEmailAddressProvider   = userEmailAddressProvider;
     _notificationRepository     = notificationRepository;
     _emailSender = emailSender;
     _clock       = clock;
 }
 public SmsNotificationSendingJob(
     INotificationInfoRepository notificationInfoRepository,
     IUserPhoneNumberProvider userPhoneNumberProvider,
     INotificationRepository notificationRepository,
     IJsonSerializer jsonSerializer,
     ISmsSender smsSender,
     IClock clock)
 {
     _notificationInfoRepository = notificationInfoRepository;
     _userPhoneNumberProvider    = userPhoneNumberProvider;
     _notificationRepository     = notificationRepository;
     _jsonSerializer             = jsonSerializer;
     _smsSender = smsSender;
     _clock     = clock;
 }
Ejemplo n.º 4
0
 public NotificationInfoAppService(INotificationInfoRepository repository) : base(repository)
 {
     _repository = repository;
 }
Ejemplo n.º 5
0
 public NotificationInfoRepositoryTests()
 {
     _notificationInfoRepository = GetRequiredService <INotificationInfoRepository>();
 }