mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-06-08 16:36:15 +00:00
Remove converter value mapping case insensitivity
This commit is contained in:
parent
b708ad3a1f
commit
d80e9b9c3f
@ -71,7 +71,7 @@ namespace CryptoExchange.Net.Converters
|
||||
|
||||
private bool GetValue(string value, out T result)
|
||||
{
|
||||
var mapping = Mapping.FirstOrDefault(kv => kv.Value.Equals(value, StringComparison.InvariantCultureIgnoreCase));
|
||||
var mapping = Mapping.FirstOrDefault(kv => kv.Value.Equals(value));
|
||||
if (!mapping.Equals(default(KeyValuePair<T, string>)))
|
||||
{
|
||||
result = mapping.Key;
|
||||
|
Loading…
x
Reference in New Issue
Block a user