Class ExposeConfigurationAttribute
Expose configurations to Blaze UI
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true, Inherited = false)]
public class ExposeConfigurationAttribute : Attribute
- Inheritance
-
objectAttributeExposeConfigurationAttribute
Constructors
ExposeConfigurationAttribute(string)
public ExposeConfigurationAttribute(string SectionName)
Parameters
SectionName
string
ExposeConfigurationAttribute(string, string)
public ExposeConfigurationAttribute(string SectionName, string DisplayName)
Parameters
ExposeConfigurationAttribute(string, string, string)
public ExposeConfigurationAttribute(string SectionName, string DisplayName, string Description)
Parameters
Fields
Description
The description to show in configuration manager UI.
public string? Description
Field Value
DisplayName
The human-friendly name to show in configuration manager UI.
public string? DisplayName
Field Value
IsSensitive
Indicates whether this is a sensitive information (eg. a password). In that case the config will be hidden in the Blaze config editor
public bool IsSensitive
Field Value
SectionName
The Section name that will be used to resolve the config from the Configuration System.
public string? SectionName