C. WorkItem Details
The main purpose of a WorkItem today is to facilitate loose coupling by holding certain classes of objects in well-known locations so that other objects can find the resources that they need to do their jobs. To accomplish this, the WorkItem class contains a number of collections, as shown in Table 3-1. All of them are strongly typed except Items, which exists to hold anything not served by a strongly typed collection.
Table 3-1. Collections of the WorkItem Class
Property Name
Description
Searches Parent
Commands
Command objects, used for tying .NET events from user interface objects such as menus to business logic methods (see Chapter 5).
Yes
EventTopics
EventTopic objects, used in conjunction with CAB's loosely coupled publish-and-subscribe ...
Get Programming Microsoft® Composite UI Application Block and Smart Client Software Factory now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.