public static string KeyValueGet(this IKeyValueStore self, string key) { return(self.KeyValueGetAsync(key).Result); }
public static async Task <T> KeyValueGetAsync <T>(this IKeyValueStore self, string key) { var strValue = await self.KeyValueGetAsync(key); return(JsonConvert.DeserializeObject <T>(strValue)); }