public AdminController( IShellHost shellHost, IShellSettingsManager shellSettingsManager, IEnumerable <DatabaseProvider> databaseProviders, IAuthorizationService authorizationService, ShellSettings currentShellSettings, IFeatureProfilesService featureProfilesService, IEnumerable <IRecipeHarvester> recipeHarvesters, IDataProtectionProvider dataProtectorProvider, IClock clock, INotifier notifier, ISiteService siteService, ITenantValidator tenantValidator, IShapeFactory shapeFactory, IStringLocalizer <AdminController> stringLocalizer, IHtmlLocalizer <AdminController> htmlLocalizer) { _shellHost = shellHost; _shellSettingsManager = shellSettingsManager; _databaseProviders = databaseProviders; _authorizationService = authorizationService; _currentShellSettings = currentShellSettings; _featureProfilesService = featureProfilesService; _recipeHarvesters = recipeHarvesters; _dataProtectorProvider = dataProtectorProvider; _clock = clock; _notifier = notifier; _siteService = siteService; _tenantValidator = tenantValidator; New = shapeFactory; S = stringLocalizer; H = htmlLocalizer; }
public ApiController( IShellHost shellHost, ShellSettings currentShellSettings, IAuthorizationService authorizationService, IShellSettingsManager shellSettingsManager, IDataProtectionProvider dataProtectorProvider, ISetupService setupService, IClock clock, IEmailAddressValidator emailAddressValidator, IFeatureProfilesService featureProfilesService, IOptions <IdentityOptions> identityOptions, IEnumerable <DatabaseProvider> databaseProviders, IStringLocalizer <AdminController> stringLocalizer) { _shellHost = shellHost; _currentShellSettings = currentShellSettings; _authorizationService = authorizationService; _dataProtectorProvider = dataProtectorProvider; _shellSettingsManager = shellSettingsManager; _setupService = setupService; _clock = clock; _emailAddressValidator = emailAddressValidator; _featureProfilesService = featureProfilesService; _identityOptions = identityOptions.Value; _databaseProviders = databaseProviders; S = stringLocalizer; }
public TenantValidator( IShellHost shellHost, IFeatureProfilesService featureProfilesService, IEnumerable <DatabaseProvider> databaseProviders, ShellSettings shellSettings, IStringLocalizer <TenantValidator> stringLocalizer) { _shellHost = shellHost; _featureProfilesService = featureProfilesService; _databaseProviders = databaseProviders; _shellSettings = shellSettings; S = stringLocalizer; }