Tag Archives: MEF

Working with AggregateCatalog in MEF

By | August 31, 2011

As we are moving ahead we have already discussed the notion and usage of TypeCatalog, AssemblyCatalog or DirectoryCatalog, in this post I am going to discuss one more Complex Catalog Type that is already present in MEF Base class Library. The AggregateCatalog is a combination of 2 or more catalog and forms a unified Parts Library for your… Read More »

Working with DirectoryCatalog in MEF

By | August 31, 2011

As I have already discussed some of the Catalogs present in MEF library viz, TypeCatalog, AssemblyCatalog etc, where AssemblyCatalog is actually a collection of TypeCatalog internally, DirectoryCatalog on the other hand is a collection of AssemblyCatalog. In this post I will look into DirectoryCatalog and how to use this class while writing your MEF application. DirectoryCatalog is a… Read More »

Working with TypeCatalog in MEF

By | August 29, 2011

In MEF world, we use Types to define Export or Import. Catalogs are used to discover types in an assembly, Directory, or manually added types in TypeCatalogs. Today I will discuss how TypeCatalog works and how you can use it in your application. TypeCatalog is actually a repository of Types that forms the basic Export and Import parts.… Read More »