C# Класс Innovatian.Configuration.RegistryConfigurationSource

Наследование: AbstractConfigurationSource, IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

Dispose() публичный Метод

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
Результат void

RegistryConfigurationSource() публичный Метод

Initializes a new instance of the RegistryConfigurationSource class.
public RegistryConfigurationSource ( RegistryKey root ) : System
root Microsoft.Win32.RegistryKey The root key to load settings from.
Результат System

RegistryConfigurationSource() публичный Метод

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.
Результат System

RegistryConfigurationSource() публичный Метод

Initializes a new instance of the RegistryConfigurationSource class.
public RegistryConfigurationSource ( string root ) : System
root string The root key to load settings from.
Результат System

RegistryConfigurationSource() публичный Метод

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.
Результат System

Reload() публичный Метод

Discards all sections and merged sources and reloads a fresh set of settings.
public Reload ( ) : void
Результат void

Save() публичный Метод

Saves all sections. All data merged from other merged sources will be included.
public Save ( ) : void
Результат void