摘要: 下面这段代码摘自 《C#并发编程经典实例》 并行LINQ static IEnumerable<int> MultiplyBy2(IEnumerable<int> value) { return value.AsParallel().Select(item=>item*2); } static IE 阅读全文
posted @ 2016-05-23 23:06 哪有公园可以住的呀 阅读(156) 评论(0) 推荐(0)
摘要: Binding to a Derived Type绑定派生类型Although we have focused on interfaces (since that is most relevant in MVC applications), we can alsouse Ninject to bin 阅读全文
posted @ 2016-05-23 17:26 哪有公园可以住的呀 阅读(140) 评论(0) 推荐(0)