1.Topics‎ > ‎Architecture‎ > ‎Patterns‎ > ‎a.Design Patterns‎ > ‎D.Behavioral Patterns‎ > ‎

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.

  3. When to Use
    1. it is mostly used with Facade pattern.
  4. References
    1. http://www.martinfowler.com/eaaDev/EventAggregator.html
    2. http://www.silverlightshow.net/items/Patterns-and-practices-in-the-Composite-Application-Library-part-1.aspx