IGLib  1.7.2
The IGLib base library EXTENDED - with other lilbraries and applications.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
NUnit.Engine.Internal.SettingsStore Class Reference

SettingsStore extends SettingsGroup to provide for loading and saving the settings from an XML file. More...

+ Inheritance diagram for NUnit.Engine.Internal.SettingsStore:
+ Collaboration diagram for NUnit.Engine.Internal.SettingsStore:

Public Member Functions

 SettingsStore ()
 Construct a SettingsStore without a backing file - used for testing. More...
 
 SettingsStore (string settingsFile, bool writeable)
 Construct a SettingsStore with a file name and indicate whether it is writeable More...
 
void LoadSettings ()
 
void SaveSettings ()
 
- Public Member Functions inherited from NUnit.Engine.Internal.SettingsGroup
object GetSetting (string settingName)
 Load the value of one of the group's settings More...
 
GetSetting< T > (string settingName, T defaultValue)
 Load the value of one of the group's settings or return a default value More...
 
void RemoveSetting (string settingName)
 Remove a setting from the group More...
 
void RemoveGroup (string groupName)
 Remove a group of settings More...
 
void SaveSetting (string settingName, object settingValue)
 Save the value of one of the group's settings More...
 

Private Attributes

string _settingsFile
 
bool _writeable
 

Additional Inherited Members

- Protected Attributes inherited from NUnit.Engine.Internal.SettingsGroup
Dictionary< string, object > _settings = new Dictionary<string, object>()
 
- Events inherited from NUnit.Engine.Internal.SettingsGroup
SettingsEventHandler Changed
 
- Events inherited from NUnit.Engine.ISettings
SettingsEventHandler Changed
 Occurs when the settings are changed. More...
 

Detailed Description

SettingsStore extends SettingsGroup to provide for loading and saving the settings from an XML file.

Constructor & Destructor Documentation

NUnit.Engine.Internal.SettingsStore.SettingsStore ( )
inline

Construct a SettingsStore without a backing file - used for testing.

NUnit.Engine.Internal.SettingsStore.SettingsStore ( string  settingsFile,
bool  writeable 
)
inline

Construct a SettingsStore with a file name and indicate whether it is writeable

Parameters
settingsFile
writeable

Member Function Documentation

void NUnit.Engine.Internal.SettingsStore.LoadSettings ( )
inline
void NUnit.Engine.Internal.SettingsStore.SaveSettings ( )
inline

Member Data Documentation

string NUnit.Engine.Internal.SettingsStore._settingsFile
private
bool NUnit.Engine.Internal.SettingsStore._writeable
private

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