Chapter 6. Designing for Extensibility

ONE OF THE IMPORTANT ASPECTS of designing a framework is making sure the extensibility of the framework has been carefully considered. This requires that you understand the costs and benefits associated with various extensibility mechanisms. This chapter helps you decide which of the extensibility mechanisms such as subclassing, events, virtual members, and so on, can best meet the requirements of your framework. This chapter does not talk about the design details of these mechanisms. Such details are discussed in other parts of the book and this chapter simply provides cross-references to sections describing these details.

A good understanding of OOP is a necessary prerequisite to designing an effective framework ...

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.