New to this..
I am porting my SL project to prism.
I have multiple (4) modules. One of them is the CommandDispatch Module which essentially houses a toolbar. This sits in the "CommandRegion" of the window - at the top.
When I click on certain buttons, I want the different views to be places in the main "contentregion"
In each module I have a View and ViewModel.
So, my project structure is something like
and so on....
Since these are all separate modules and separate project, I am confused about how to create a URI within my commandDispatchViewModel.cs that navigates to Module1.
At the top of the class definition of Module1, I decorate with [Export ("Module1View")]
when I need to navigate, I have tried:
regionManager.RequestNavigate("ContentRegion", new Uri("/Module1View;component/Module1", UriKind.Relative));
regionManager.RequestNavigate("ContentRegion", new Uri("/Module1View;component/Module1.ViewModels", UriKind.Relative));
and a couple of other combinations.
So, HOW DO I compose the URI?