public override bool Has(StorageKey key)
 {
     return(Adapter.ContainsKey(key.keyData));
 }
 public override void Put(StorageKey key, byte[] value)
 {
     Adapter.SetValue(key.keyData, value);
 }
 public override void Delete(StorageKey key)
 {
     Adapter.Remove(key.keyData);
 }
 public override byte[] Get(StorageKey key)
 {
     return(Adapter.GetValue(key.keyData));
 }
 public override void Delete(StorageKey key)
 {
     Put(key, null);
 }
Exemple #6
0
 public abstract void Delete(StorageKey key);
Exemple #7
0
 public abstract void Put(StorageKey key, byte[] value);
Exemple #8
0
 public abstract byte[] Get(StorageKey key);
Exemple #9
0
 public abstract bool Has(StorageKey key);