示例#1
0
文件: CacheQueue.cs 项目: zhshen/AK74
 /// <summary>
 /// 重载基类方法,删除传入的CacheItem
 /// </summary>
 /// <param name="cacheItem">缓存队列对象</param>
 internal protected override void RemoveItem(CacheItemBase cacheItem)
 {
     this.Remove(((CacheItem <TKey, TValue>)cacheItem).Key);
 }
示例#2
0
 /// <summary>
 /// 虚方法,删除Cache项
 /// </summary>
 /// <param name="cacheItem">被删除的Cache项</param>
 internal protected abstract void RemoveItem(CacheItemBase cacheItem);