Пример #1
0
 public RenewalService(
     ISettingsService settings,
     ILogService log,
     PasswordGenerator password,
     IPluginService plugin)
 {
     _log               = log;
     _plugin            = plugin;
     _passwordGenerator = password;
     _settings          = settings;
     _log.Debug("Renewal period: {RenewalDays} days", _settings.ScheduledTask.RenewalDays);
 }
Пример #2
0
 public RenewalService(
     ISettingsService settings,
     ILogService log,
     PasswordGenerator password,
     PluginService plugin)
 {
     _log               = log;
     _plugin            = plugin;
     _passwordGenerator = password;
     _configPath        = settings.ConfigPath;
     _renewalDays       = settings.RenewalDays;
     _log.Debug("Renewal period: {RenewalDays} days", _renewalDays);
 }
Пример #3
0
 public RenewalStore(
     ISettingsService settings,
     ILogService log,
     IInputService input,
     PasswordGenerator password,
     IPluginService plugin,
     ICertificateService certificateService)
 {
     _log                = log;
     _plugin             = plugin;
     _inputService       = input;
     _passwordGenerator  = password;
     _settings           = settings;
     _certificateService = certificateService;
     _log.Debug("Renewal period: {RenewalDays} days", _settings.ScheduledTask.RenewalDays);
 }