在MEF出现以前,其实微软已经发布了一个类似的框架,叫MAF(Managed Add-in Framework),它旨在使应用程序孤立和更好的管理扩展,而MEF更关心的是可发现性.扩展性和轻便性,后者更lightweight.我们将跟随MEF官网来学习. The Managed Extensibility Framework or MEF is a library for creating lightweight, extensible applications. It allows appli…