Class SettingDefinitionManager
Inheritance
object
SettingDefinitionManager
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 SettingDefinitionManager : ISettingDefinitionManager, ISingletonDependency
Constructors
SettingDefinitionManager(IOptions<AbpSettingOptions>, IServiceProvider)
Declaration
public SettingDefinitionManager(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> |
|
Get(string)
Declaration
public virtual SettingDefinition Get(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
GetAll()
Declaration
public virtual IReadOnlyList<SettingDefinition> GetAll()
Returns
GetOrNull(string)
Declaration
public virtual SettingDefinition GetOrNull(string name)
Parameters
| Type |
Name |
Description |
| string |
name |
|
Returns
Implements
Extension Methods