Class ConfigProperty | Terminal.Gui v2 (original) (raw)

Namespace

Terminal.Gui

Assembly

Terminal.Gui.dll

public class ConfigProperty

Inheritance

ConfigProperty

Inherited Members

Properties

PropertyInfo

Describes the property.

PropertyValue

Holds the property's value as it was either read from the class's implementation or from a config file. If the property has not been set (e.g. because no configuration file specified a value), this will benull.

Methods

Apply()

Applies the PropertyValue to the static property described by PropertyInfo.

GetJsonPropertyName(PropertyInfo)

Helper to get either the Json property named (specified by [JsonPropertyName(name)] or the actual property name.

RetrieveValue()

Retrieves (using reflection) the value of the static property described in PropertyInfo intoPropertyValue.