Class SettingManagementStore
Inheritance
System.Object
SettingManagementStore
Implements
ITransientDependency
Assembly: Volo.Abp.SettingManagement.Domain.dll
Syntax
public class SettingManagementStore : object, ISettingManagementStore, ITransientDependency
Constructors
SettingManagementStore(ISettingRepository, IGuidGenerator, IDistributedCache<SettingCacheItem>, ISettingDefinitionManager)
Declaration
public SettingManagementStore(ISettingRepository settingRepository, IGuidGenerator guidGenerator, IDistributedCache<SettingCacheItem> cache, ISettingDefinitionManager settingDefinitionManager)
Parameters
Properties
Cache
Declaration
protected IDistributedCache<SettingCacheItem> Cache { get; }
Property Value
GuidGenerator
Declaration
protected IGuidGenerator GuidGenerator { get; }
Property Value
Type |
Description |
IGuidGenerator |
|
SettingDefinitionManager
Declaration
protected ISettingDefinitionManager SettingDefinitionManager { get; }
Property Value
SettingRepository
Declaration
protected ISettingRepository SettingRepository { get; }
Property Value
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<SettingCacheItem> GetCacheItemAsync(string name, string providerName, string providerKey)
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.String |
providerName |
|
System.String |
providerKey |
|
Returns
GetListAsync(String, String)
Declaration
public virtual Task<List<SettingValue>> GetListAsync(string providerName, string providerKey)
Parameters
Type |
Name |
Description |
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