Class StaticSettingDefinitionStore
Inheritance
object
StaticSettingDefinitionStore
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.Settings.dll
Syntax
public class StaticSettingDefinitionStore : IStaticSettingDefinitionStore, ISingletonDependency
Constructors
StaticSettingDefinitionStore(IOptions<AbpSettingOptions>, IServiceProvider)
Declaration
public StaticSettingDefinitionStore(IOptions<AbpSettingOptions> options, IServiceProvider serviceProvider)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.Options.IOptions<TOptions><AbpSettingOptions> |
options |
|
System.IServiceProvider |
serviceProvider |
|
Properties
Options
Declaration
protected AbpSettingOptions Options { get; }
Property Value
ServiceProvider
Declaration
protected IServiceProvider ServiceProvider { get; }
Property Value
Type |
Description |
System.IServiceProvider |
|
SettingDefinitions
Declaration
protected Lazy<IDictionary<string, SettingDefinition>> SettingDefinitions { get; }
Property Value
Type |
Description |
System.Lazy<T><System.Collections.Generic.IDictionary<TKey, TValue><string, SettingDefinition>> |
|
Methods
CreateSettingDefinitions()
Declaration
protected virtual IDictionary<string, SettingDefinition> CreateSettingDefinitions()
Returns
Type |
Description |
System.Collections.Generic.IDictionary<TKey, TValue><string, SettingDefinition> |
|
GetAllAsync()
Declaration
public virtual Task<IReadOnlyList<SettingDefinition>> GetAllAsync()
Returns
Type |
Description |
System.Threading.Tasks.Task<TResult><System.Collections.Generic.IReadOnlyList<T><SettingDefinition>> |
|
GetAsync(string)
Declaration
public virtual Task<SettingDefinition> GetAsync(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
GetOrNullAsync(string)
Declaration
public virtual Task<SettingDefinition?> GetOrNullAsync(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
Implements
Extension Methods