C# Class NSoft.NFramework.Nini.Config.RegistryConfigSource

Inheritance: ConfigSourceBase
Afficher le fichier Open project: debop/NFramework Class Usage Examples

Méthodes publiques

Méthode Description
AddConfig ( string name ) : IConfig
AddConfig ( string name, RegistryKey key ) : IConfig
AddMapping ( RegistryKey registryKey, string path ) : void
AddMapping ( RegistryKey registryKey, string path, RegistryRecurse recurse ) : void
RegistryConfigSource ( ) : System
Reload ( ) : void
Save ( ) : void

Private Methods

Méthode Description
LoadKeyValues ( RegistryKey key, string keyName ) : void

Loads all values from the registry key.

MergeConfigsIntoDocument ( ) : void

Merges all of the configs from the config collection into the registry.

ReloadKeys ( ) : void

Reloads all keys.

RemoveKeys ( RegistryConfig config ) : void

Removes all keys not present in the current config.

ShortKeyName ( RegistryKey key ) : string

Returns the key name without the fully qualified path. e.g. no HKEY_LOCAL_MACHINE\\MyKey, just MyKey

Method Details

AddConfig() public méthode

public AddConfig ( string name ) : IConfig
name string
Résultat IConfig

AddConfig() public méthode

public AddConfig ( string name, RegistryKey key ) : IConfig
name string
key Microsoft.Win32.RegistryKey
Résultat IConfig

AddMapping() public méthode

public AddMapping ( RegistryKey registryKey, string path ) : void
registryKey Microsoft.Win32.RegistryKey
path string
Résultat void

AddMapping() public méthode

public AddMapping ( RegistryKey registryKey, string path, RegistryRecurse recurse ) : void
registryKey Microsoft.Win32.RegistryKey
path string
recurse RegistryRecurse
Résultat void

RegistryConfigSource() public méthode

public RegistryConfigSource ( ) : System
Résultat System

Reload() public méthode

public Reload ( ) : void
Résultat void

Save() public méthode

public Save ( ) : void
Résultat void