diff --git a/libNOM.map/Mapping.cs b/libNOM.map/Mapping.cs index 449b515..51b4b5b 100644 --- a/libNOM.map/Mapping.cs +++ b/libNOM.map/Mapping.cs @@ -190,11 +190,11 @@ private static void GetPropertiesToObfuscate(JToken token, List jProp #region Mapping private static Dictionary GetMapForDeobfuscation(bool useAccount) => (useAccount ? _mapForCommonAccount.Concat(_mapForDeobfuscationAccount) : _mapForCommon.Concat(_mapForDeobfuscation)).ToDictionary(i => i.Key, i => i.Value); - + private static Dictionary GetMapForObfuscation(bool useAccount) => (useAccount ? _mapForCommonAccount.Concat(_mapForObfuscationAccount) : _mapForCommon.Concat(_mapForObfuscation)).ToDictionary(i => i.Value, i => i.Key); // switch to have the origin as Key - /// - public static string GetMappedOrInput(string key) => GetMappedOrInput(key, false); + /// + public static string GetMappedKeyOrInput(string key) => GetMappedKeyOrInput(key, false); /// /// Maps the specified key. Works for both, deobfuscated and obfuscated input. @@ -202,7 +202,7 @@ private static void GetPropertiesToObfuscate(JToken token, List jProp /// /// /// The mapped key or the input if no mapping found. - public static string GetMappedOrInput(string key, bool useAccount) + public static string GetMappedKeyOrInput(string key, bool useAccount) { if (GetMapForDeobfuscation(useAccount).TryGetValue(key, out var resultFromDeobfuscation)) return resultFromDeobfuscation;