public RocketApplicationConfigurationAppService( IOptions <RocketLocalizationOptions> localizationOptions, IOptions <RocketMultiTenancyOptions> multiTenancyOptions, IServiceProvider serviceProvider, IRocketAuthorizationPolicyProvider rocketAuthorizationPolicyProvider, IAuthorizationService authorizationService, ISettingProvider settingProvider, ISettingDefinitionManager settingDefinitionManager, IFeatureDefinitionManager featureDefinitionManager, ILanguageProvider languageProvider, ICachedObjectExtensionsDtoService cachedObjectExtensionsDtoService, IDistributedCache <ApplicationCommonConfigurationCacheItem> commonConfigurationCache, IDistributedCache <ApplicationPersonalConfigurationCacheItem> personalConfigurationCache) { _serviceProvider = serviceProvider; _rocketAuthorizationPolicyProvider = rocketAuthorizationPolicyProvider; _authorizationService = authorizationService; _settingProvider = settingProvider; _settingDefinitionManager = settingDefinitionManager; _featureDefinitionManager = featureDefinitionManager; _languageProvider = languageProvider; _cachedObjectExtensionsDtoService = cachedObjectExtensionsDtoService; _localizationOptions = localizationOptions.Value; _multiTenancyOptions = multiTenancyOptions.Value; _commonConfigurationCache = commonConfigurationCache; _personalConfigurationCache = personalConfigurationCache; }
public AbpApplicationConfigurationAppService( IOptions <AbpLocalizationOptions> localizationOptions, IOptions <AbpMultiTenancyOptions> multiTenancyOptions, IServiceProvider serviceProvider, IAbpAuthorizationPolicyProvider abpAuthorizationPolicyProvider, IPermissionDefinitionManager permissionDefinitionManager, DefaultAuthorizationPolicyProvider defaultAuthorizationPolicyProvider, IPermissionChecker permissionChecker, IAuthorizationService authorizationService, ICurrentUser currentUser, ISettingProvider settingProvider, ISettingDefinitionManager settingDefinitionManager, IFeatureDefinitionManager featureDefinitionManager, ILanguageProvider languageProvider, ITimezoneProvider timezoneProvider, IOptions <AbpClockOptions> abpClockOptions, ICachedObjectExtensionsDtoService cachedObjectExtensionsDtoService) { _serviceProvider = serviceProvider; _abpAuthorizationPolicyProvider = abpAuthorizationPolicyProvider; _permissionDefinitionManager = permissionDefinitionManager; _defaultAuthorizationPolicyProvider = defaultAuthorizationPolicyProvider; _permissionChecker = permissionChecker; _authorizationService = authorizationService; _currentUser = currentUser; _settingProvider = settingProvider; _settingDefinitionManager = settingDefinitionManager; _featureDefinitionManager = featureDefinitionManager; _languageProvider = languageProvider; _timezoneProvider = timezoneProvider; _abpClockOptions = abpClockOptions.Value; _cachedObjectExtensionsDtoService = cachedObjectExtensionsDtoService; _localizationOptions = localizationOptions.Value; _multiTenancyOptions = multiTenancyOptions.Value; }
public FakeFeatureStore( IOptions <FakeFeatureOptions> options, IFeatureDefinitionManager featureDefinitionManager) { FakeFeatureOptions = options.Value; FeatureDefinitionManager = featureDefinitionManager; }
public PlusApplicationConfigurationAppService( IOptions <PlusLocalizationOptions> localizationOptions, IOptions <PlusMultiTenancyOptions> multiTenancyOptions, IServiceProvider serviceProvider, IPlusAuthorizationPolicyProvider PlusAuthorizationPolicyProvider, IAuthorizationService authorizationService, ICurrentUser currentUser, ISettingProvider settingProvider, ISettingDefinitionManager settingDefinitionManager, IFeatureDefinitionManager featureDefinitionManager, ILanguageProvider languageProvider, ITimezoneProvider timezoneProvider, IOptions <PlusClockOptions> PlusClockOptions, ICachedObjectExtensionsDtoService cachedObjectExtensionsDtoService) { _serviceProvider = serviceProvider; _PlusAuthorizationPolicyProvider = PlusAuthorizationPolicyProvider; _authorizationService = authorizationService; _currentUser = currentUser; _settingProvider = settingProvider; _settingDefinitionManager = settingDefinitionManager; _featureDefinitionManager = featureDefinitionManager; _languageProvider = languageProvider; _timezoneProvider = timezoneProvider; _PlusClockOptions = PlusClockOptions.Value; _cachedObjectExtensionsDtoService = cachedObjectExtensionsDtoService; _localizationOptions = localizationOptions.Value; _multiTenancyOptions = multiTenancyOptions.Value; }
public FeatureAppService(IFeatureManager featureManager, IFeatureDefinitionManager featureDefinitionManager, IOptions <FeatureManagementOptions> options) { FeatureManager = featureManager; FeatureDefinitionManager = featureDefinitionManager; Options = options.Value; }
public TigerFeatureAppService( IFeatureManager featureManager, IFeatureDefinitionManager featureDefinitionManager, IOptions <FeatureManagementOptions> options, IFeatureValueRepository featureValueRepository ) : base(featureManager, featureDefinitionManager, options) { FeatureValueRepository = featureValueRepository; }
public FeatureAppService(IFeatureManager featureManager, IFeatureDefinitionManager featureDefinitionManager, IStringLocalizerFactory stringLocalizerFactory, IOptions <FeatureManagementOptions> options) { _featureManager = featureManager; _featureDefinitionManager = featureDefinitionManager; _stringLocalizerFactory = stringLocalizerFactory; Options = options.Value; }
public FeatureManagementStore( IFeatureValueRepository featureValueRepository, IGuidGenerator guidGenerator, IDistributedCache <FeatureValueCacheItem> cache, IFeatureDefinitionManager featureDefinitionManager) { FeatureValueRepository = featureValueRepository; GuidGenerator = guidGenerator; Cache = cache; FeatureDefinitionManager = featureDefinitionManager; }
public FeaturesLimitValidationInterceptor( IFeatureChecker featureChecker, IRequiresLimitFeatureChecker limitFeatureChecker, IFeatureDefinitionManager featureDefinitionManager, IOptions <AbpFeaturesLimitValidationOptions> options) { _options = options.Value; _featureChecker = featureChecker; _limitFeatureChecker = limitFeatureChecker; _featureDefinitionManager = featureDefinitionManager; }
public FeatureChecker( IOptions <FeatureOptions> options, IServiceProvider serviceProvider, IFeatureDefinitionManager featureDefinitionManager) { FeatureDefinitionManager = featureDefinitionManager; Options = options.Value; Providers = new Lazy <List <IFeatureValueProvider> >( () => Options .ValueProviders .Select(type => serviceProvider.GetRequiredService(type) as IFeatureValueProvider) .ToList(), true ); }
public FeatureManager( IOptions <FeatureManagementOptions> options, IServiceProvider serviceProvider, IFeatureDefinitionManager featureDefinitionManager) { FeatureDefinitionManager = featureDefinitionManager; Options = options.Value; //TODO: Instead, use IHybridServiceScopeFactory and create a scope..? _lazyProviders = new Lazy <List <IFeatureManagementProvider> >( () => Options .Providers .Select(c => serviceProvider.GetRequiredService(c) as IFeatureManagementProvider) .ToList(), true ); }
public AbpApplicationConfigurationAppService( IOptions <AbpLocalizationOptions> localizationOptions, IServiceProvider serviceProvider, IAbpAuthorizationPolicyProvider abpAuthorizationPolicyProvider, IAuthorizationService authorizationService, ICurrentUser currentUser, ISettingProvider settingProvider, SettingDefinitionManager settingDefinitionManager, IFeatureDefinitionManager featureDefinitionManager) { _serviceProvider = serviceProvider; _abpAuthorizationPolicyProvider = abpAuthorizationPolicyProvider; _authorizationService = authorizationService; _currentUser = currentUser; _settingProvider = settingProvider; _settingDefinitionManager = settingDefinitionManager; _featureDefinitionManager = featureDefinitionManager; _localizationOptions = localizationOptions.Value; }
public AbpApplicationConfigurationAppService( IOptions <AbpLocalizationOptions> localizationOptions, IOptions <AbpMultiTenancyOptions> multiTenancyOptions, IServiceProvider serviceProvider, ISettingProvider settingProvider, ISettingDefinitionManager settingDefinitionManager, IFeatureDefinitionManager featureDefinitionManager, IPermissionGrantRepository permissionGrantRepository, IPermissionDefinitionManager permissionDefinitionManager, ILanguageProvider languageProvider, ICachedObjectExtensionsDtoService cachedObjectExtensionsDtoService) { _serviceProvider = serviceProvider; _settingProvider = settingProvider; _settingDefinitionManager = settingDefinitionManager; _featureDefinitionManager = featureDefinitionManager; _permissionGrantRepository = permissionGrantRepository; _permissionDefinitionManager = permissionDefinitionManager; _languageProvider = languageProvider; _cachedObjectExtensionsDtoService = cachedObjectExtensionsDtoService; _localizationOptions = localizationOptions.Value; _multiTenancyOptions = multiTenancyOptions.Value; }
public FeatureDefinitionManager_Tests() { _featureDefinitionManager = GetRequiredService <IFeatureDefinitionManager>(); }
public ConfigurationAppService(IOptions <AbpLocalizationOptions> localizationOptions, IOptions <AbpMultiTenancyOptions> multiTenancyOptions, IServiceProvider serviceProvider, IAbpAuthorizationPolicyProvider abpAuthorizationPolicyProvider, IAuthorizationService authorizationService, ICurrentUser currentUser, ISettingProvider settingProvider, ISettingDefinitionManager settingDefinitionManager, IFeatureDefinitionManager featureDefinitionManager, ILanguageProvider languageProvider, ITimezoneProvider timezoneProvider, IOptions <AbpClockOptions> abpClockOptions, ICachedObjectExtensionsDtoService cachedObjectExtensionsDtoService) : base(localizationOptions, multiTenancyOptions, serviceProvider, abpAuthorizationPolicyProvider, authorizationService, currentUser, settingProvider, settingDefinitionManager, featureDefinitionManager, languageProvider, timezoneProvider, abpClockOptions, cachedObjectExtensionsDtoService) { }
public ConfigurationAppService(IOptions <AbpLocalizationOptions> localizationOptions, IServiceProvider serviceProvider, IAbpAuthorizationPolicyProvider abpAuthorizationPolicyProvider, IAuthorizationService authorizationService, ICurrentUser currentUser, ISettingProvider settingProvider, SettingDefinitionManager settingDefinitionManager, IFeatureDefinitionManager featureDefinitionManager, ILanguageProvider languageProvider) : base(localizationOptions, serviceProvider, abpAuthorizationPolicyProvider, authorizationService, currentUser, settingProvider, settingDefinitionManager, featureDefinitionManager, languageProvider) { }