I am trying to create a TPayLoad
-free CompositePresentationEvent
, that its delegate is parameterless.
I want to have a global application event that takes no parameters such as UserLoggedInEvent
, UserGotIdleEvent
etc. etc.
How should this be done with the Prism 4.0 event aggregation system?
This post clarified some things for me.
Anyway I realize now the the Prism EA system is really clumzy tho.
Here are some extension methods that focus on reducing the verbosity of the EA.
For logging and handling roles and permissions around the application and sub modules it's best to use Interfaces instead of event aggregation system.