/// <summary> /// Removes an item from the cache /// </summary> /// <param name="key">Key associated with the item to remove</param> public virtual void Remove(TKeyType key) { if (Exists(key)) { object tempItem; InternalCache.TryRemove(key, out tempItem); } }
/// <summary> /// Removes an item from the cache /// </summary> /// <param name="Key">Key associated with the item to remove</param> public virtual void Remove(KeyType Key) { if (Exists(Key)) { object TempItem = null; InternalCache.TryRemove(Key, out TempItem); } }