|
|
static UserSettings | FromFileOrDefault () |
| |
| static void | LoadDefaults () |
| | Creates a new settings object without loading the saved settings from file and without saving the current settings from file. More...
|
| |
|
|
static string | SettingsFileName [get] |
| |
|
static string | TestVersionString [get] |
| |
|
SemanticVersion | LastVersionSeen [get, set] |
| |
| static UserSettingsBase | Default [get, set] |
| | Gets the singleton instance of the user settings. More...
|
| |
|
string | User [get, set] |
| |
|
string | Email [get, set] |
| |
|
bool | CcUserOnExceptionReport [get, set] |
| |
|
string | DownloadFolder [get, set] |
| |
| bool | WasFromFile [get, protected set] |
| | Is true if the options store was initially loaded from a YAML file. More...
|
| |
| Exception | Exception [get, protected set] |
| | Gets the last IOException, if any occurred. More...
|
| |
|
| void | Save () |
| | Saves the user settings to a file. More...
|
| |
| virtual string | GetSettingsFilePath () |
| | Gets the complete path and file name for the user settings file. More...
|
| |
| virtual SerializerBuilder | ConstructSerializerBuilder () |
| | Builds a YamlDotNet serializer builder. More...
|
| |
| virtual void | WriteYamlHeader (StreamWriter streamWriter) |
| | Writes a header to the YAML file before all other data. More...
|
| |
| static T | FromFileOrDefault< T > (string yamlFile, DeserializerBuilder deserializerBuilder) |
| | Loads options from a file, or creates a default instance if the I/O operation failed. More...
|
| |
| static T | FromFileOrDefault< T > (string yamlFile) |
| | Loads options from a file using default YAML deserialization options (ignoring unmatched properties), or creates a default instance if the I/O operation failed. More...
|
| |
Definition at line 9 of file UserSettings.cs.
The documentation for this class was generated from the following file: