Event Aggregator

  1. Motivation

      1. Channel events from multiple objects into a single object to simplify registration for clients.

  2. Summary

      1. An Event Aggregator acts as a single source of events for many objects.

      2. It registers for all the events of the many objects allowing clients to register with just the aggregator.

      3. Routed Events in WPF and Silverlight are very good examples of it.

      4. You can think of an Event Aggregator as a particular form of Facade that focuses only on observer relationships.

  1. When to Use

      1. it is mostly used with Facade pattern.

  1. References