Class FeatureManagementStore
Inheritance
System.Object
FeatureManagementStore
Implements
ITransientDependency
Assembly: Volo.Abp.FeatureManagement.Domain.dll
Syntax
public class FeatureManagementStore : object, 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
Type |
Description |
IGuidGenerator |
|
Methods
CalculateCacheKey(String, String, String)
Declaration
protected virtual string CalculateCacheKey(string name, string providerName, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
Type |
Description |
System.String |
|
DeleteAsync(String, String, String)
Declaration
public virtual Task DeleteAsync(string name, string providerName, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
GetCacheItemAsync(String, String, String)
Declaration
protected virtual Task<FeatureValueCacheItem> GetCacheItemAsync(string name, string providerName, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
GetOrNullAsync(String, String, String)
Declaration
public virtual Task<string> GetOrNullAsync(string name, string providerName, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
Type |
Description |
Task<System.String> |
|
SetAsync(String, String, String, String)
Declaration
public virtual Task SetAsync(string name, string value, string providerName, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
value |
|
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
Implements
ITransientDependency
Extension Methods