There should be a non-generic CompositePresentationEvent and EventSubscription.

Topics: Prism v1, Prism v2 - Silverlight 2, Prism v2 - Silverlight 3, Prism v2 - Silverlight 4, Prism v2 - WPF 3.5, Prism v2 - WPF 4, Prism v4 - Silverlight 4, Prism v4 - WPF 4
Apr 8, 2011 at 4:24 AM
Edited Apr 8, 2011 at 4:29 AM

I don't understand why there is no CompositePresentationEvent that takes no type arguments.

I want to create a parameterless event such as UserLoggedInEvent that doesn't require any additional data, just an 'Action' delegate (parameterless).

I am not sure the non-generic should have been the base-class of the generic one, but it's an option.

I posted this question here too.

Developer
Apr 8, 2011 at 3:19 PM

Hi,

I've copied this discussion to a Work Item in the Issue Tracker.

Thank you for your feedback.

Guido Leandro Maliandi
http://blogs.southworks.net/gmaliandi

Apr 10, 2011 at 1:17 AM

This blogpost should be useful: http://blogs.microsoft.co.il/blogs/shimmy/archive/2011/04/09/eventaggregator-shortener.aspx