Return value from tryConfigPaths. Handles loaded config and exact file path.
The exception is thrown when configuration parsing error occurs (AppConfig constructor). Also encapsulates config file name.
The exception is thrown by tryConfigPaths is called and all config file alternatives are failed to be loaded.
Returns config example to be edited by end user.
Generates and write down minimal configuration to path.
Takes range of paths and one at a time tries to load config from each one. If the path doesn't exist, then the next candidate is checked. If the file exists, but parsing or deserializing are failed, InvalidConfig exception is thrown.
Writes configuration appConfig to file path name. It is a wrapper function around writeJson.
Writes down json to provided file name.
Represent configuration file.
Describes basic sql info in AppConfig
Config reading system.
Ctor AppConfig(string) create a config from file.