Skip to content

Commit

Permalink
更新GF
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiang Yin committed Jan 25, 2021
1 parent 9478e79 commit d263688
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ static DataProcessorUtility()
DataProcessor dataProcessor = (DataProcessor)Activator.CreateInstance(types[i]);
foreach (string typeString in dataProcessor.GetTypeStrings())
{
s_DataProcessors.Add(typeString.ToLower(), dataProcessor);
s_DataProcessors.Add(typeString.ToLowerInvariant(), dataProcessor);
}
}
}
Expand All @@ -49,7 +49,7 @@ public static DataProcessor GetDataProcessor(string type)
}

DataProcessor dataProcessor = null;
if (s_DataProcessors.TryGetValue(type.ToLower(), out dataProcessor))
if (s_DataProcessors.TryGetValue(type.ToLowerInvariant(), out dataProcessor))
{
return dataProcessor;
}
Expand Down

0 comments on commit d263688

Please sign in to comment.