bovender framework
C# framework that implements MVVM and more
Bovender.UnitTests.UserSettings.UserSettings Class Reference
Inheritance diagram for Bovender.UnitTests.UserSettings.UserSettings:
Bovender.UserSettings.UserSettingsBase

Static Public Member Functions

static UserSettings FromFileOrDefault ()
 
- Static Public Member Functions inherited from Bovender.UserSettings.UserSettingsBase
static void LoadDefaults ()
 Creates a new settings object without loading the saved settings from file and without saving the current settings from file. More...
 

Properties

static string SettingsFileName [get]
 
static string TestVersionString [get]
 
SemanticVersion LastVersionSeen [get, set]
 
- Properties inherited from Bovender.UserSettings.UserSettingsBase
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...
 

Additional Inherited Members

- Public Member Functions inherited from Bovender.UserSettings.UserSettingsBase
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...
 
- Protected Member Functions inherited from Bovender.UserSettings.UserSettingsBase
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 Protected Member Functions inherited from Bovender.UserSettings.UserSettingsBase
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...
 

Detailed Description

Definition at line 9 of file UserSettings.cs.


The documentation for this class was generated from the following file: