
exTensibility*
cdragon2009
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
MEF,扩展预览
MEF,a primitive! 绪 MEF,"发现-重用-可动态组合";不依赖的特征编程。 什么是扩展? 扩展的本质是可以在多个程序中重用。扩展仍可以象原来一样,以程序特定的方式来实现。 MEF是什么?MEF是微软为方便可扩展程序的创建,而提供的可管理的扩展框架简称,对程序扩展具有发现和组合能力。MEF是微软的原生框架,存在在.Net FX基准中。 用它解...原创 2010-05-14 11:04:13 · 171 阅读 · 0 评论 -
How-to:应用mef 提高程序扩展能力(part1)
Simple Introduction to Extensible Applications with the Managed Extensions Framework Recently my team has been working on the Managed Extensions Framework (MEF)... I have gotten a chance to explai...原创 2010-05-14 15:42:00 · 160 阅读 · 0 评论 -
How-to:应用mef 提高程序扩展能力(part2)
More Value of MEF 一、catalog基本使用 Ok, I think we can all agree that we added a little complexity if all we were going to do is factor what was in the same assembly. MEF really shines when you have sep...原创 2010-05-14 16:00:31 · 228 阅读 · 0 评论 -
How-to:应用mef 提高程序扩展能力(part3)
三、引申扩展 STEP 1: To make things more interesting, lets add another implementation of IOutputString that is a bit more creative. 1: [Export(typeof(IOutputString))] 2: public class Revers...原创 2010-05-14 16:07:32 · 257 阅读 · 0 评论