Class SettingDefinition
Inheritance
object
SettingDefinition
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 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
Type |
Description |
System.Collections.Generic.Dictionary<TKey, TValue><string, object> |
|
Providers
Declaration
public List<string> Providers { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<T><string> |
|
Methods
WithProperty(string, object)
Declaration
public virtual SettingDefinition WithProperty(string key, object value)
Parameters
Type |
Name |
Description |
string |
key |
|
object |
value |
|
Returns
WithProviders(params string[])
Declaration
public virtual SettingDefinition WithProviders(params string[] providers)
Parameters
Type |
Name |
Description |
string[] |
providers |
|
Returns
Extension Methods