In my application I want to stick to Prism/MVVM. The application consists of several separated assemblies (modules if you will). Those modules have views, that can appear in various Regions of the Shell. Whenever events happen/trigger in one of the views,
other views in other Regions have to react/respond to that event.
Example: when a user chooses one Person from a PersonList in view A, the PersonDetails have to appear in PersonDetailView of view B.
If I understand correctly I need an EventAggregator to achieve this. Furthermore, I need to "inject" that EventAggregator into the different modules, so that they can publish and subscribe on the EventAggregator's CompositePresentationEvent.
1. How do I instantiate the EventAggregator in the Container?
2. How do I inject the EventAggregator into the modules so that they can publish and subscribe respectively?
If possible I would appreciate documentation for further study and examples. Please no examples without proper MVVM structure, I've seen more than a few like those. The trick for me is in the MVVM with the dependeny injection!
Thanks in advance!