Example #1
0
 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));
 }
Example #2
0
 public ClientRequestParametersProvider(ConfigurationDbContext configurationDbContext, IAbsoluteUrlGenerator urlGenerator)
     : base()
 {
     ConfigurationDbContext = configurationDbContext;
     UrlGenerator           = urlGenerator;
 }