Part 4: Behavioral Patterns

Behavioral patterns are mostly concerned with communication between objects. In Part IV, we examine the following.

The Chain of Responsibility allows a decoupling between objects by passing a request from one object to the next in a chain until the request is recognized.

The Command pattern utilizes simple objects to represent execution of software commands and allows you to support logging and undo operations.

The Interpreter pattern provides a definition of how to include language elements in a program.

The Iterator pattern formalizes the way we move through a list of data within a class.

The Mediator pattern defines how communication between objects can be simplified by using a separate object to keep all objects ...

Get C# Design Patterns: A Tutorial 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.