2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2026-01-09 02:40:23 +00:00
This commit is contained in:
2025-12-04 17:23:19 +03:00
parent fadac3bd30
commit 8172bf0ba2

View File

@@ -127,6 +127,13 @@ public class Map<KT, VT> : IEnumerable<KeyValuePair<KT, VT>>, IMap
return rt;
}
public static Map<KT, VT> FromDictionary(Dictionary<KT, VT> source)
{
var rt = new Map<KT, VT>();
rt.dic = source;
return rt;
}
public static Map<string, object> FromObject(object obj)
{
var type = obj.GetType();