diff --git a/LEProc/RegistryEntry.cs b/LEProc/RegistryEntry.cs index 8afcf2d..3191e5f 100644 --- a/LEProc/RegistryEntry.cs +++ b/LEProc/RegistryEntry.cs @@ -5,7 +5,7 @@ namespace LEProc public class RegistryEntry { - public delegate string ValueGetter(CultureInfo culture); + public delegate string ValueReceiver(CultureInfo culture); /// /// e.g. HKEY_LOCAL_MACHINE @@ -28,11 +28,12 @@ namespace LEProc public string Type { get; private set; } /// - /// e.g. 932 + /// e.g. culture => culture.TextInfo.ANSICodePage.ToString() + /// In the example above, if the culture corresponds to ja-jp, the result is "932". /// - public ValueGetter GetValue { get; private set; } + public ValueReceiver GetValue { get; private set; } - public RegistryEntry(string root, string key, string name, string type, ValueGetter getValue) + public RegistryEntry(string root, string key, string name, string type, ValueReceiver getValue) { Root = root; Key = key;