mirror of
https://github.com/focus-creative-games/luban_unity.git
synced 2025-11-13 02:05:56 +08:00
[fix] 修复StringUtils.CollectionToString对Dictionary类型拼接的bug
This commit is contained in:
parent
7dcd33fd67
commit
c19185ac4e
@ -39,7 +39,8 @@ namespace Luban
|
|||||||
|
|
||||||
public static string CollectionToString<TK, TV>(IDictionary<TK, TV> dic)
|
public static string CollectionToString<TK, TV>(IDictionary<TK, TV> dic)
|
||||||
{
|
{
|
||||||
var sb = new StringBuilder('{');
|
var sb = new StringBuilder();
|
||||||
|
sb.Append('{');
|
||||||
foreach (var e in dic)
|
foreach (var e in dic)
|
||||||
{
|
{
|
||||||
sb.Append(e.Key).Append(':');
|
sb.Append(e.Key).Append(':');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user