I want to use Event Aggregator to allow communication between presenters on the page. I am using currently this implementation http://kentb.blogspot.com/2008/03/event-hub.html.
But in asp.net I am not sure about side effects which can occur.
I want to use Event Aggregator to allow communication between presenters on the page. I am using currently this implementation http://kentb.blogspot.com/2008/03/event-hub.html.
But in asp.net I am not sure about side effects which can occur.
The only side effects I see is that your presenters will have to contain an EventHub and expose method to subscribe and unsubscribe to events. They will also have to implement the ISubscriber interface. Since this interface is generic you will have to mention ISubscriber for each event T you want to them to receive in the class definition which can be very tedious if you want to receive a lot of events.