Search code examples
eventaggregatorprism-4

Event aggregation using Prism 4


Can someone please confirm whether I am right about event aggregation in PRISM 4?

Is it the case that you cannot subscribe for an event until the event has been published first or am I missing something?


Solution

  • No, you can subscribe to an event at any time, otherwise the subscriber would need intimate knowledge about the publisher, which would defeat the purpose of the mediator pattern.