关于MEF框架 嵌套的用法
摘要:
最近才开始使用MEF框架在实际项目中应用,系本人菜鸟,在项目中遇到 部件的嵌套问题,目前的解决方式如下,已备查阅。 项目结构如下: 1.MEF接口,分为IStringManager1和IStringManager2using System.ComponentModel.Composition;namespace Test.API{ [InheritedExport] public interface IStringManager1 { string GetString(); } [InheritedExport] public inte... 阅读全文
posted @ 2012-12-20 13:47 声小白 阅读(272) 评论(0) 推荐(0)
浙公网安备 33010602011771号