/// <inheritdoc /> public void Remove(object key) { if (key == null) { log.Error("null key passed to 'Remove'"); throw new ArgumentNullException("key"); } string cacheKey = GetCacheKey(key); log.Debug("removing item with key: {0}", cacheKey); system.Remove(cacheKey); }
/// <inheritdoc /> public void Remove(object key) { if (key == null) { if (log.IsErrorEnabled) { log.Error("null key passed to 'Remove'"); } throw new ArgumentNullException("key"); } string cacheKey = GetCacheKey(key); if (log.IsDebugEnabled) { log.Debug("removing item with key: " + cacheKey); } system.Remove(cacheKey); }