Пример #1
0
 public override bool Has(StorageKey key)
 {
     return(Adapter.ContainsKey(key.keyData));
 }
Пример #2
0
 public override void Put(StorageKey key, byte[] value)
 {
     Adapter.SetValue(key.keyData, value);
 }
Пример #3
0
 public override void Delete(StorageKey key)
 {
     Adapter.Remove(key.keyData);
 }
Пример #4
0
 public override byte[] Get(StorageKey key)
 {
     return(Adapter.GetValue(key.keyData));
 }
Пример #5
0
 public override void Delete(StorageKey key)
 {
     Put(key, null);
 }
Пример #6
0
 public abstract void Delete(StorageKey key);
Пример #7
0
 public abstract void Put(StorageKey key, byte[] value);
Пример #8
0
 public abstract byte[] Get(StorageKey key);
Пример #9
0
 public abstract bool Has(StorageKey key);