阅读背景:

MEF程序设计指南四:使用MEF声明导出(Exports)与导入(Imports)

来源:互联网 

  在MEF中,使用[System.ComponentModel.Composition.ExportAttribute]支持多种级别的导出部件配置,包括类、字段、属性以及方法级别的导出部件,通过查看ExportAttribute的源代码就知道ExportAttribute被定义为Attribute,并为其设置了使用范围。  在MEF中,使用[System.ComponentModel.Composition.Ex




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: