Beispiel #1
0
 public void Set(string k, CacheEntry v)
 {
     foreach (var c in _cacheEngine)
     {
         v.SetEngine(c);
         c.Set(k, v);
     }
 }
Beispiel #2
0
 public void Set(string k, CacheEntry v)
 {
     lock (this)
     {
         if (v != null)
         {
             v.SetEngine(this);
             this[k] = v;
         }
     }
 }