C# 클래스 NSoft.NFramework.Nini.Config.RegistryConfigSource

상속: ConfigSourceBase
파일 보기 프로젝트 열기: debop/NFramework 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

AddConfig() 공개 메소드

public AddConfig ( string name ) : IConfig
name string
리턴 IConfig

AddConfig() 공개 메소드

public AddConfig ( string name, RegistryKey key ) : IConfig
name string
key Microsoft.Win32.RegistryKey
리턴 IConfig

AddMapping() 공개 메소드

public AddMapping ( RegistryKey registryKey, string path ) : void
registryKey Microsoft.Win32.RegistryKey
path string
리턴 void

AddMapping() 공개 메소드

public AddMapping ( RegistryKey registryKey, string path, RegistryRecurse recurse ) : void
registryKey Microsoft.Win32.RegistryKey
path string
recurse RegistryRecurse
리턴 void

RegistryConfigSource() 공개 메소드

public RegistryConfigSource ( ) : System
리턴 System

Reload() 공개 메소드

public Reload ( ) : void
리턴 void

Save() 공개 메소드

public Save ( ) : void
리턴 void