Class FeatureManagementStore
Inheritance
FeatureManagementStore
Assembly: Volo.Abp.FeatureManagement.Domain.dll
Syntax
public class FeatureManagementStore : IFeatureManagementStore, ITransientDependency
Constructors
FeatureManagementStore(IFeatureValueRepository, IGuidGenerator, IDistributedCache<FeatureValueCacheItem>, IFeatureDefinitionManager)
Declaration
public FeatureManagementStore(IFeatureValueRepository featureValueRepository, IGuidGenerator guidGenerator, IDistributedCache<FeatureValueCacheItem> cache, IFeatureDefinitionManager featureDefinitionManager)
Parameters
Properties
Cache
Declaration
protected IDistributedCache<FeatureValueCacheItem> Cache { get; }
Property Value
FeatureDefinitionManager
Declaration
protected IFeatureDefinitionManager FeatureDefinitionManager { get; }
Property Value
FeatureValueRepository
Declaration
protected IFeatureValueRepository FeatureValueRepository { get; }
Property Value
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Methods
CalculateCacheKey(string, string, string)
Declaration
protected virtual string CalculateCacheKey(string name, string providerName, string providerKey)
Parameters
Returns
DeleteAsync(string, string, string)
Declaration
[UnitOfWork]
public virtual Task DeleteAsync(string name, string providerName, string providerKey)
Parameters
Returns
GetCacheItemAsync(string, string, string)
Declaration
protected virtual Task<FeatureValueCacheItem> GetCacheItemAsync(string name, string providerName, string providerKey)
Parameters
Returns
GetOrNullAsync(string, string, string)
Declaration
[UnitOfWork]
public virtual Task<string> GetOrNullAsync(string name, string providerName, string providerKey)
Parameters
Returns
SetAsync(string, string, string, string)
Declaration
[UnitOfWork]
public virtual Task SetAsync(string name, string value, string providerName, string providerKey)
Parameters
Returns
Implements
Extension Methods