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, IOptions <IdentityOptions> identityOptions, IEnumerable <DatabaseProvider> databaseProviders, ITenantValidator tenantValidator, IStringLocalizer <ApiController> stringLocalizer) { _shellHost = shellHost; _currentShellSettings = currentShellSettings; _authorizationService = authorizationService; _dataProtectorProvider = dataProtectorProvider; _shellSettingsManager = shellSettingsManager; _setupService = setupService; _clock = clock; _emailAddressValidator = emailAddressValidator; _identityOptions = identityOptions.Value; _databaseProviders = databaseProviders; _tenantValidator = tenantValidator; S = stringLocalizer; }
public TenantLocator(ILogger logger, IDomainNameExtractor domainExtractor, IByConvention convention, ITenantValidator validator, IDomainSerializer serializer) { this.Logger = logger; this.DomainExtractor = domainExtractor; this.Convention = convention; this.Validator = validator; this.Serializer = serializer; }
public TenantManager(ITenantValidator tenantValidator, ITenantReader tenantReader, IExceptionHandler exceptionHandler) { _tenantValidator = tenantValidator; _tenantReader = tenantReader; _exceptionHandler = exceptionHandler; }