multi modules without defined which region to export

Apr 16, 2012 at 10:18 AM

HI,

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.

Questions:

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, :-)