ExportProvider vs FilteredCatalog

Sep 29, 2010 at 12:13 PM

Hi everybody,

Which is the difference using a FilteredCatalog in order to filter exports against writing a custom EpxortProvider?


Sep 29, 2010 at 8:28 PM

Catalog is just a set of definitions that get used by a particular ExportProvider which is the CatalogExportProvider so a FilteredCatalog will essentially filter the input into the CatalogExportProvider. Writing a custom ExportProvider would be used for cases that don't fit into our primitive model of ComposablePartDefinition/ExportDefinition/ImportDefinition and purely works with Export (as in the class Export).

My advise is to use a FilteredCatalog if that supports your scenario as opposed to writing a custom ExportProvider.

Oct 4, 2010 at 4:23 PM

Oki thanks :)