This project has moved. For the latest updates, please go here.

Using bootstrapper in MEF

Jun 22, 2012 at 2:54 AM

Found out that MEF has an analogue for the Bootstrapper class in PRISM. It can be used as 

private void Application_Startup(object sender, StartupEventArgs e)
But you didn't use it in WAF. Is there any reason to avoid it?

Jun 25, 2012 at 6:15 PM

I wouldn’t describe this method as Bootstrapper. In my opinion a Bootstrapper does much more than SatisfyImports().

WAF uses the container.GetExportedValue() method instead. I believe it is easier to understand than using the SatisfyImports() method. That’s all.