Пример #1
0
 /// <summary>
 /// Removes an item from the cache.
 /// </summary>
 /// <param name="key">
 /// Item key.
 /// </param>
 public override void Remove(object key)
 {
     if (key != null)
     {
         if (Log.IsDebugEnabled)
         {
             Log.Debug(string.Format("removing item '{0}' from cache '{1}'", key, this._cacheName));
         }
         _cache.Remove(GenerateKey(key));
     }
 }