Enum ConfigLocations
- Namespace
- Terminal.Gui.Configuration
- Assembly
- Terminal.Gui.dll
Describes the location of the configuration settings. The constants can be combined (bitwise) to specify multiple locations. The more significant the bit, the higher the priority the location, meaning that the last location will override the earlier ones.
[Flags]
public enum ConfigLocations
Fields
All = HardCoded | LibraryResources | AppResources | Runtime | GlobalCurrent | GlobalHome | AppCurrent | AppHomeThis constant is a combination of all locations
AppCurrent = 64App settings in the current directory (e.g.
./.tui/MyApp.config.json).AppHome = 128App settings in the home directory (e.g.
~/.tui/MyApp.config.json).AppResources = 4App resources (e.g.
MyApp.Resources.config.json). See AppSettingsScope.GlobalCurrent = 16Global settings in the current directory (e.g.
./.tui/config.json).GlobalHome = 32Global settings in the home directory (e.g.
~/.tui/config.json).HardCoded = 1Settings of the ConfigurationPropertyAttribute static properites when the module is initiallly loaded.
When the module is initialized, the ConfigurationManager will retrieve the values of the configuration properties from their corresponding static properties. These are default settigs available even if IsEnabled is false.
LibraryResources = 2Settings defined in
Terminal.Gui.dll's resources (Terminal.Gui.Resources.config.json).None = 0No locaitons are specified. This is the default value.
Runtime = 8Settings in the RuntimeConfig static property.