Programming Microsoft® Composite UI Application Block and Smart Client Software Factory
by David S. Platt
B. Solution Architecture
The CAB framework provides an event broker service that does a nice job of meeting the needs of both publishers of and subscribers to events. It does about what you think it ought to do, in more or less the way you think it ought to do it. But the nomenclature is a little confusing, so you need to follow this section carefully.
An event is a thing, the occurrence of which can be announced. An EventTopic is the class of CAB object that contains the administrative information of a specific event, identified by a string name. Each WorkItem contains a collection of EventTopic objects, which percolate down to each descendent WorkItem in the usual CAB way.
A subscriber is a method on an object that is called when an event is announced. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access