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)); }
public UndeliveryNotApprovedSmsInformer(ISmsSender smsSender, ISmsNotificationRepository smsNotificationRepository) { this.smsSender = smsSender ?? throw new ArgumentNullException(nameof(smsSender)); this.smsNotificationRepository = smsNotificationRepository ?? throw new ArgumentNullException(nameof(smsNotificationRepository)); }