Using Prism, I’ve got a INFRASTRUCTURE project, where I’ve got a view with two regions:
- ContentRegion
- SidebarRegion

There’s no problem in SidebarRegion, because this is a especif view of this project. But ContentRegion is different, I’ve got another modules like ModuleA, ModuleB, and these one contain the view which must be show in ContentRegion.
I mean, the INFRASTRUCTURE PROJECT contains the generic view. And the others module contains a view which must be showed in ContentRegion
I’m using Prism and UNITY. Can you orient me about how can I do this? I guess I need to register the views but I’m lost.
You should be able to pass the Region Manager and Unity container to the modules through the constructor. Then you can use those to register your views in the
Initializemethod, like so:And, of course, you have to make sure the modules are loaded properly, but I’m assuming that is done already.