mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-01-09 19:00:23 +00:00
last
This commit is contained in:
@@ -127,6 +127,13 @@ public class Map<KT, VT> : IEnumerable<KeyValuePair<KT, VT>>, IMap
|
|||||||
return rt;
|
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)
|
public static Map<string, object> FromObject(object obj)
|
||||||
{
|
{
|
||||||
var type = obj.GetType();
|
var type = obj.GetType();
|
||||||
|
|||||||
Reference in New Issue
Block a user