Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't support complex objects? #7

Open
scascalesageinfoes opened this issue Jul 6, 2020 · 1 comment
Open

Doesn't support complex objects? #7

scascalesageinfoes opened this issue Jul 6, 2020 · 1 comment

Comments

@scascalesageinfoes
Copy link

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

@HemachandranPM
Copy link

@scascalesageinfoes did you got the solution ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants