Chapter 9. Common Design Patterns

There are numerous books on software patterns, pattern languages, and antipatterns, addressing that very broad subject. This chapter simply provides guidelines and discussion related to a very limited set of patterns that are used frequently in the design of the .NET Framework APIs.

Aggregate Components

Many feature areas might benefit from one or more façade types that act as simplified views over more complex but also more powerful APIs. A façade that supports component-oriented design (see section 9.1.1) is called an aggregate component.

An aggregate component ties multiple lower level factored types into a higher level component to support common scenarios. An example might be an e-mail component that ties together ...

Get Framework Design Guidelines: Conventions, Idioms, and Patterns for Reusable .NET Libraries 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.