摘要: 代码:publicclassSingletonPerRequest{publicstaticSingletonPerRequestCurrent{get{return(HttpContext.Current.Items["SingletonPerRequest"]??(HttpContext.Current.Items["SingletonPerRequest"]=newSingletonPerRequest()))asSingletonPerRequest;}}}详见:http://dotnetslackers.com/community/blogs/ 阅读全文
posted @ 2011-04-27 09:05 程序员海风 阅读(354) 评论(0) 推荐(0) 编辑