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.Services.SettingsService Class Reference

Summary description for UserSettingsService. More...

+ Inheritance diagram for NUnit.Engine.Services.SettingsService:
+ Collaboration diagram for NUnit.Engine.Services.SettingsService:

Public Member Functions

 SettingsService (bool writeable)
 
void StartService ()
 Initialize the Service More...
 
void StopService ()
 Do any cleanup needed before terminating the service More...
 
- Public Member Functions inherited from NUnit.Engine.Internal.SettingsStore
 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...
 

Properties

IServiceLocator ServiceContext [get, set]
 
ServiceStatus Status [get, private set]
 
- Properties inherited from NUnit.Engine.IService
IServiceLocator ServiceContext [get, set]
 The ServiceContext More...
 
ServiceStatus Status [get]
 Gets the ServiceStatus of this service More...
 

Private Attributes

const string SETTINGS_FILE = "Nunit30Settings.xml"
 

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

Summary description for UserSettingsService.

Constructor & Destructor Documentation

NUnit.Engine.Services.SettingsService.SettingsService ( bool  writeable)
inline

Member Function Documentation

void NUnit.Engine.Services.SettingsService.StartService ( )
inline

Initialize the Service

Implements NUnit.Engine.IService.

void NUnit.Engine.Services.SettingsService.StopService ( )
inline

Do any cleanup needed before terminating the service

Implements NUnit.Engine.IService.

Member Data Documentation

const string NUnit.Engine.Services.SettingsService.SETTINGS_FILE = "Nunit30Settings.xml"
private

Property Documentation

IServiceLocator NUnit.Engine.Services.SettingsService.ServiceContext
getset
ServiceStatus NUnit.Engine.Services.SettingsService.Status
getprivate set

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