Beispiel #1
0
 public NewClientSmsInformer(ISmsSender smsSender, ISmsNotificationRepository smsNotificationRepository)
 {
     this.smsSender = smsSender ?? throw new ArgumentNullException(nameof(smsSender));
     this.smsNotificationRepository = smsNotificationRepository ?? throw new ArgumentNullException(nameof(smsNotificationRepository));
 }
 public SmsInformerInstanceProvider(ISmsNotificationRepository smsNotificationRepository, ISmsNotificationServiceSettings smsNotificationServiceSettings)
 {
     this.smsNotificationRepository      = smsNotificationRepository ?? throw new ArgumentNullException(nameof(smsNotificationRepository));
     this.smsNotificationServiceSettings = smsNotificationServiceSettings ?? throw new ArgumentNullException(nameof(smsNotificationServiceSettings));
 }
Beispiel #3
0
 public UndeliveryNotApprovedSmsInformer(ISmsSender smsSender, ISmsNotificationRepository smsNotificationRepository)
 {
     this.smsSender = smsSender ?? throw new ArgumentNullException(nameof(smsSender));
     this.smsNotificationRepository = smsNotificationRepository ?? throw new ArgumentNullException(nameof(smsNotificationRepository));
 }