Class SettingDefinition
Inheritance
SettingDefinition
Assembly: Volo.Abp.Settings.dll
Syntax
public class SettingDefinition
Constructors
SettingDefinition(string, string?, ILocalizableString?, ILocalizableString?, bool, bool, bool)
Declaration
public SettingDefinition(string name, string? defaultValue = null, ILocalizableString? displayName = null, ILocalizableString? description = null, bool isVisibleToClients = false, bool isInherited = true, bool isEncrypted = false)
Parameters
Properties
DefaultValue
Declaration
public string? DefaultValue { get; set; }
Property Value
Description
Declaration
public ILocalizableString? Description { get; set; }
Property Value
DisplayName
Declaration
public ILocalizableString DisplayName { get; set; }
Property Value
IsEncrypted
Declaration
public bool IsEncrypted { get; set; }
Property Value
IsInherited
Declaration
public bool IsInherited { get; set; }
Property Value
IsVisibleToClients
Declaration
public bool IsVisibleToClients { get; set; }
Property Value
Name
Declaration
public string Name { get; }
Property Value
Properties
Declaration
public Dictionary<string, object> Properties { get; }
Property Value
Providers
Declaration
public List<string> Providers { get; }
Property Value
Methods
WithProperty(string, object)
Declaration
public virtual SettingDefinition WithProperty(string key, object value)
Parameters
Returns
WithProviders(params string[])
Declaration
public virtual SettingDefinition WithProviders(params string[] providers)
Parameters
Type |
Name |
Description |
string[] |
providers |
|
Returns
Extension Methods