Search code examples
silverlight-4.0mvvmprismeventaggregatorprism-4

Non-Generic CompositePresentationEvent and EventSubscription?


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?


Solution

  • 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.