Table of Contents

Class SerializableConfigurationProperty

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

An attribute that can be applied to a property to indicate that it should included in the configuration file.

[AttributeUsage(AttributeTargets.Property)]
public class SerializableConfigurationProperty : Attribute
Inheritance
SerializableConfigurationProperty
Inherited Members

Examples

[SerializableConfigurationProperty(Scope = typeof(Configuration.ThemeManager.ThemeScope)), JsonConverter (typeof (JsonStringEnumConverter))] public static LineStyle DefaultBorderStyle { ...

Properties

OmitClassName

If true, the property will be serialized to the configuration file using only the property name as the key. If false, the property will be serialized to the configuration file using the property name pre-pended with the classname (e.g. Application.UseSystemConsole).

Scope

Specifies the scope of the property.