Beispiel #1
0
 public TValue this[TKey key]
 {
     get
     {
         return(KeyStore.GetValue <TValue>(key.ToString()));
     }
     set
     {
         KeyStore.SetValue(key.ToString(), value);
     }
 }
Beispiel #2
0
 public bool TryGetValue(TKey key, out TValue value)
 {
     value = KeyStore.GetValue <TValue>(key.ToString());
     return(!value.Equals(default(TValue)));
 }