developer
developer

Reputation: 7400

Publisher clarification for Event Aggregator design pattern

I would like to clarify the role of the "publisher" in the Event Aggregator design pattern.

My current solution handles .NET data events, such as XmlNode events occuring in a XmlDocument.

Question: In the Event Aggregator design pattern, what is considered the publishers?

Upvotes: 0

Views: 287

Answers (1)

Maziar Taheri
Maziar Taheri

Reputation: 2338

In Event Aggregator pattern, you have you types of publishers:

  1. Source of events which the aggregator is an observer/subscriber to,
  2. The aggregator itself, which has it's own subscribers

So your data sources are publishers.

take a look to this short article by Martin Fowler:

http://martinfowler.com/eaaDev/EventAggregator.html

Upvotes: 1

Related Questions