public static void Put <T>(this IBucket bucket, string key, T value) { var item = bucket.GetItem(key); item.Put(value); }
public static T Get <T>(this IBucket bucket, string key) { var item = bucket.GetItem(key); return(item.Get <T>()); }
public static bool TryGet <T>(this IBucket bucket, string key, out T value) { var item = bucket.GetItem(key); return(item.TryGet(out value)); }
public static void Delete(this IBucket bucket, string key) { var item = bucket.GetItem(key); item.Delete(); }