Memcached2
Memcached2 copied to clipboard
Doesn't support complex objects?
Hello
Doesn't support complex objects? c is missing in var dictionary ` public class testclass { public string a = "a"; public string b = "a"; }
MemcachedClient mc = MemCached.getInstance(); bool _inserted = mc..Store(StoreMode.Set, "dictionary", new Dictionary<string, object>() { { "a", "1" }, { "b", 1}, { "c", new testclass { a ="111", b="ccc" } } }); var dictionary = mc.Get("dictionary") as Dictionary<string, object>;`
Thx
@scascalesageinfoes did you got the solution ?