Programming Microsoft® Composite UI Application Block and Smart Client Software Factory
by David S. Platt
B. Solution Architecture
A work item, represented by the class WorkItem, is the basic unit of software scoping in CAB. It contains well-known collections of objects such as services, workspaces, and Smart Parts, so that loosely coupled objects know where to find the resources that they need to do their work. It represents the primary mechanism whereby the loosely coupled parts of a CAB application are stitched together. In the preceding chapter, you saw the loosely coupled way in which a WorkItem contains services, making them available to other parts of a program.
The philosophy and purpose of the WorkItem have evolved greatly since its origin. The original idea was that a WorkItem object represented a particular use case—that is, one job of work, ...
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