C# Class Innovatian.Configuration.RegistryConfigurationSource

Inheritance: AbstractConfigurationSource, IDisposable
Mostrar archivo Open project: idavis/innovatian.configuration

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

RegistryConfigurationSource ( RegistryKey root ) : System

Initializes a new instance of the RegistryConfigurationSource class.

RegistryConfigurationSource ( RegistryKey root, bool recursive ) : System

Initializes a new instance of the RegistryConfigurationSource class.

RegistryConfigurationSource ( string root ) : System

Initializes a new instance of the RegistryConfigurationSource class.

RegistryConfigurationSource ( string root, bool recursive ) : System

Initializes a new instance of the RegistryConfigurationSource class.

Reload ( ) : void

Discards all sections and merged sources and reloads a fresh set of settings.

Save ( ) : void

Saves all sections. All data merged from other merged sources will be included.

Private Methods

Method Description
CloneKey ( RegistryKey source, RegistryKeyPermissionCheck permissionCheck ) : RegistryKey
Dispose ( bool disposing ) : void
GetKey ( string sectionName, RegistryKeyPermissionCheck permissionCheck ) : RegistryKey
GetKey ( string subKey, string &sectionName, RegistryKeyPermissionCheck permissionCheck ) : RegistryKey
GetSection ( string subKey, string sectionName ) : IConfigurationSection
GetSections ( RegistryKey root ) : IEnumerable
GetSubKeys ( RegistryKey registryKey ) : IEnumerable

Recursively creates full key name for all subkeys of the root.

GetValueKind ( RegistryKey key, string keyName ) : RegistryValueKind
Load ( RegistryKey root ) : void
OpenKey ( string key, RegistryKeyPermissionCheck permissionCheck ) : RegistryKey
OpenRoot ( string key ) : RegistryKey
SaveValue ( IConfigurationSection section, string>.KeyValuePair pair ) : void

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void

RegistryConfigurationSource() public method

Initializes a new instance of the RegistryConfigurationSource class.
public RegistryConfigurationSource ( RegistryKey root ) : System
root Microsoft.Win32.RegistryKey The root key to load settings from.
return System

RegistryConfigurationSource() public method

Initializes a new instance of the RegistryConfigurationSource class.
public RegistryConfigurationSource ( RegistryKey root, bool recursive ) : System
root Microsoft.Win32.RegistryKey The root key to load settings from.
recursive bool if the recursively process subkeys. Default is true.
return System

RegistryConfigurationSource() public method

Initializes a new instance of the RegistryConfigurationSource class.
public RegistryConfigurationSource ( string root ) : System
root string The root key to load settings from.
return System

RegistryConfigurationSource() public method

Initializes a new instance of the RegistryConfigurationSource class.
public RegistryConfigurationSource ( string root, bool recursive ) : System
root string The root key to load settings from.
recursive bool if the recursively process subkeys. Default is true.
return System

Reload() public method

Discards all sections and merged sources and reloads a fresh set of settings.
public Reload ( ) : void
return void

Save() public method

Saves all sections. All data merged from other merged sources will be included.
public Save ( ) : void
return void