示例#1
0
 public static void KeyValuePut(this IKeyValueStore self, string key, object value)
 {
     self.KeyValuePutAsync(key, value).Wait();
 }
示例#2
0
        public static Task KeyValuePutAsync(this IKeyValueStore self, string key, object value)
        {
            var json = JsonConvert.SerializeObject(value);

            return(self.KeyValuePutAsync(key, json));
        }