SHA256
Refactor RegistryUtil
This commit is contained in:
1 file changed
+2
@@ -63,6 +63,7 @@ namespace ADOFAIRenderer.Util
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ReSharper disable once InconsistentNaming
|
||||||
public static string[]? GetHKLMSubKeyNames(string parentKeyPath)
|
public static string[]? GetHKLMSubKeyNames(string parentKeyPath)
|
||||||
{
|
{
|
||||||
if (RegistryKeyType == null || OpenBaseKeyMethod == null || OpenSubKeyMethod == null || GetSubKeyNamesMethod == null)
|
if (RegistryKeyType == null || OpenBaseKeyMethod == null || OpenSubKeyMethod == null || GetSubKeyNamesMethod == null)
|
||||||
@@ -94,6 +95,7 @@ namespace ADOFAIRenderer.Util
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ReSharper disable once InconsistentNaming
|
||||||
public static string? GetHKLMValue(string keyPath, string valueName)
|
public static string? GetHKLMValue(string keyPath, string valueName)
|
||||||
{
|
{
|
||||||
if (RegistryKeyType == null || OpenBaseKeyMethod == null || OpenSubKeyMethod == null || GetValueMethod == null)
|
if (RegistryKeyType == null || OpenBaseKeyMethod == null || OpenSubKeyMethod == null || GetValueMethod == null)
|
||||||
|
|||||||
Reference in new issue
Block a user