This project has moved and is read-only. For the latest updates, please go here.

multi modules without defined which region to export

Apr 16, 2012 at 11:18 AM


I am a MEF newer.

I have a requirement:

Shell side: The application have some modules ( more than 10  but not sure how many ) to load into shell. So I need manually create Regions onstartup event.

Module side: When coding, I can not know which Region the module to be loaded.


After I loadmodules ( moduleManager.LoadModule("ModelA"); ), then how to binding the ModuleA's view into the Region, for example RegionA?

Or any other ideas?

Thank you all.

Wang Yu from china, :-)