I am learning the Prism framework and how MEF is integrated with it... I am looking at the "StockTraderRI" demo solution that comes with Prism as an example...
When the [EXPORT] attribute is used on a viewmodel such as this: [Export(typeof(TrendLineViewModel))]
Does MEF create a list of these in one of its internal structures so that when it is imported like this: [Import] TrendLineViewModel ViewModel it can be located?
The it looks like the exporting of views is doing something similar: [ViewExport(RegionName = RegionNames.ResearchRegion)]
which is then used in the AutoPopulateExportedViewsBehavior method to inject the views in the regions.. is this correct?
Thanks Harold