C# Класс BlackHole.Slave.Helper.RegistryHelper

Показать файл Открыть проект

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

Метод Описание
AddRegistryKeyValue ( RegistryHive hive, string path, string name, string value, bool addQuotes = false ) : bool
DeleteRegistryKeyValue ( RegistryHive hive, string path, string name ) : bool
GetFormattedKeyValues ( this key ) : IEnumerable
GetValueSafe ( this key, string keyName, string defaultValue = "" ) : string
OpenReadonlySubKey ( RegistryHive hive, string path, bool>.Func onSuccess ) : bool
OpenReadonlySubKeySafe ( this key, string name, bool>.Func onSuccess ) : bool
OpenWritableSubKeySafe ( this key, string name, bool>.Func onSuccess ) : bool

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

Метод Описание
IsNameOrValueNull ( this keyName, RegistryKey key ) : bool

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

AddRegistryKeyValue() публичный статический Метод

public static AddRegistryKeyValue ( RegistryHive hive, string path, string name, string value, bool addQuotes = false ) : bool
hive RegistryHive
path string
name string
value string
addQuotes bool
Результат bool

DeleteRegistryKeyValue() публичный статический Метод

public static DeleteRegistryKeyValue ( RegistryHive hive, string path, string name ) : bool
hive RegistryHive
path string
name string
Результат bool

GetFormattedKeyValues() публичный статический Метод

public static GetFormattedKeyValues ( this key ) : IEnumerable
key this
Результат IEnumerable

GetValueSafe() публичный статический Метод

public static GetValueSafe ( this key, string keyName, string defaultValue = "" ) : string
key this
keyName string
defaultValue string
Результат string

OpenReadonlySubKey() публичный статический Метод

public static OpenReadonlySubKey ( RegistryHive hive, string path, bool>.Func onSuccess ) : bool
hive RegistryHive
path string
onSuccess bool>.Func
Результат bool

OpenReadonlySubKeySafe() публичный статический Метод

public static OpenReadonlySubKeySafe ( this key, string name, bool>.Func onSuccess ) : bool
key this
name string
onSuccess bool>.Func
Результат bool

OpenWritableSubKeySafe() публичный статический Метод

public static OpenWritableSubKeySafe ( this key, string name, bool>.Func onSuccess ) : bool
key this
name string
onSuccess bool>.Func
Результат bool