Loading

摘要: public class DictionaryCacheManager<TK,TV> { private Dictionary<TK, TV> cacheDic = new Dictionary<TK,TV>(); private Dictionary<TK, object> lockDic = new Dictionary<TK, object>(); public TV Get(TK key,Func<TV> getValue) { if(!CheckKey(key)) { ... 阅读全文
posted @ 2012-04-20 22:46 today4king 阅读(460) 评论(2) 推荐(0) 编辑