Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happened to MEF type, "AttributedAssemblyPartCatalog"?

Tags:

.net

types

mef

Many simple MEF examples (listed below) uses AttributedAssemblyPartCatalog.

  • 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

I have downloaded MEF source from CodePlex but still cannot find that type anywhere.

What happened to AttributedAssemblyPartCatalog and what is the alternative way of creating a resolver?

like image 680
dance2die Avatar asked Apr 09 '09 01:04

dance2die


1 Answers

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.

like image 189
Matt Hamilton Avatar answered Oct 18 '22 23:10

Matt Hamilton