摘要:
这几个工具的站点Microsoft Unity http://unity.codeplex.comService Locator http://commonservicelocator.codeplex.comMEF .net4.0内含,3.x前在codeplex上开源UtilityThe main reasons to use Unity (or any other IoC container) are if:Ø You have dependencies between your objects .Ø You need to manage the lifetime of 阅读全文