public HtmlListFormatter( [NotNull] IAbsoluteUrlGenerator absoluteUrlGenerator, [NotNull] INotificationTypeInfos notificationTypeInfos, [NotNull] ITextFormatter textFormatter, [NotNull] IOptions <SmtpSenderConfiguration> smtpSenderConfiguration) { this.absoluteUrlGenerator = absoluteUrlGenerator ?? throw new ArgumentNullException(nameof(absoluteUrlGenerator)); this.notificationTypeInfos = notificationTypeInfos ?? throw new ArgumentNullException(nameof(notificationTypeInfos)); this.textFormatter = textFormatter ?? throw new ArgumentNullException(nameof(textFormatter)); this.smtpSenderConfiguration = smtpSenderConfiguration ?? throw new ArgumentNullException(nameof(smtpSenderConfiguration)); }
public ClientRequestParametersProvider(ConfigurationDbContext configurationDbContext, IAbsoluteUrlGenerator urlGenerator) : base() { ConfigurationDbContext = configurationDbContext; UrlGenerator = urlGenerator; }