public SmsNotificationDataMapping_Tests() { NotificationOptions = GetRequiredService <IOptions <AbpNotificationOptions> >().Value; NotificationSmsOptions = GetRequiredService <IOptions <AbpNotificationsSmsOptions> >().Value; _notificationData = new NotificationData(); InitNotificationData(_notificationData); }
public SmsNotificationPublishProvider( IServiceProvider serviceProvider, ISmsNotificationSender sender, IOptions <AbpNotificationsSmsOptions> options) : base(serviceProvider) { Sender = sender; Options = options.Value; }