很多的简单的MEF的例子(如下所示)使用 AttributedAssemblyPartCatalog
Many simple MEF examples (listed below) uses AttributedAssemblyPartCatalog
.
我已经下载 MEF 从的 codePLEX ,但仍然无法找到这种类型的任何地方
I have downloaded MEF source from CodePlex but still cannot find that type anywhere.
发生了什么事 AttributedAssemblyPartCatalog
什么是创建一个解析器的另一种方式?
What happened to AttributedAssemblyPartCatalog
and what is the alternative way of creating a resolver?
他们改名(连同其他目录)中下降4较短的标识符(我们最多下降5现在)。这就是所谓的AssemblyCatalog现在。同样,DirectoryPartCatalog得到了重命名为DirectoryCatalog。
They renamed it (along with the other catalogs) to a shorter identifier in drop 4 (we're up to drop 5 now). It's called AssemblyCatalog now. Similarly, DirectoryPartCatalog got renamed to DirectoryCatalog.