I am a Prism newbie and do not understand how to get Event Aggregation wired up.
I have a shell project and two module projects. When a view is closed any of the modules I want to pass the Viewname to the Shell project which Removes the View.
From other reading I understand I need to:
1) Create an event deriving from CompositePresentationEvent and include that in my Shell Project.
2) Publish the event in my module project
3) Subscribe to the event in my Shell Project
But, how does my module project know about the CompositePresentationEvent in my Shell project ?
Could someone provide the basic wire-up code that show how a module project knows about the CompositePresentationEvent class in the Shell project ?
My CompositePresentationEvent is called CloseViewEvent
My Payload class is called ViewInfo