Exemple #1
0
 public EmailSettingsManager(
     IEmailSettingsStore <EmailSettings> emailSettingsStore,
     IBroker broker)
 {
     _emailSettingsStore = emailSettingsStore;
     _broker             = broker;
 }
 public SmtpSettingsConfiguration(
     IEmailSettingsStore <EmailSettings> emailSettingsStore,
     ILogger <SmtpSettingsConfiguration> logger,
     IEncrypter encrypter)
 {
     _emailSettingsStore = emailSettingsStore;
     _encrypter          = encrypter;
     _logger             = logger;
 }
Exemple #3
0
 public SmtpSettingsConfiguration(
     IEmailSettingsStore <EmailSettings> emailSettingsStore,
     IDataProtectionProvider dataProtectionProvider,
     ILogger <SmtpSettingsConfiguration> logger)
 {
     _dataProtectionProvider = dataProtectionProvider;
     _emailSettingsStore     = emailSettingsStore;
     _logger = logger;
 }
Exemple #4
0
 public AdminViewProvider(
     IEmailSettingsStore <EmailSettings> emailSettingsStore,
     IDataProtectionProvider dataProtectionProvider,
     ILogger <AdminViewProvider> logger,
     IShellSettings shellSettings,
     IPlatoHost platoHost)
 {
     _dataProtectionProvider = dataProtectionProvider;
     _emailSettingsStore     = emailSettingsStore;
     _shellSettings          = shellSettings;
     _platoHost = platoHost;
     _logger    = logger;
 }
Exemple #5
0
 public AdminViewProvider(
     IEmailSettingsStore <EmailSettings> emailSettingsStore,
     ILogger <AdminViewProvider> logger,
     IOptions <PlatoOptions> platoOptions,
     IShellSettings shellSettings,
     IEncrypter encrypter,
     IPlatoHost platoHost)
 {
     _emailSettingsStore = emailSettingsStore;
     _platoOptions       = platoOptions.Value;
     _shellSettings      = shellSettings;
     _platoHost          = platoHost;
     _encrypter          = encrypter;
     _logger             = logger;
 }