发生了什么事MEF类型,与QUOT; AttributedAssemblyPartCatalog"?什么事、发生了、类型、MEF

2023-09-04 09:34:57 作者:盗墓挖坟接单ゝ

很多的简单的MEF的例子(如下所示)使用 AttributedAssemblyPartCatalog

Many simple MEF examples (listed below) uses AttributedAssemblyPartCatalog.

在C $ CPLEX MEF页 简单的介绍可扩展应用程序与托管扩展框架通过布拉德·亚当斯 托管扩展框架教程 - MEF 通过大卫·海登 Hosting MEF in an application on CodePlex MEF page Simple Introduction to Extensible Applications with the Managed Extensions Framework by Brad Adams Managed Extensibility Framework Tutorial - MEF by David Hayden

我已经下载 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.