Chapter 6. UML Diagrams

The diagrams of the patterns in this book are drawn using the Unified Modeling Language (UML). This simple diagramming style was developed from work done by Grady Booch, James Rumbaugh, and Ivar Jacobson. This merging of ideas became a single specification and, eventually, a standard. You can read details of how to use UML in any number of books, such as those by Booch et al. (1999), Fowler and Scott (1997), and Grand (1998). We’ll outline the basics you’ll need in this introduction.

Basic UML diagrams consist of boxes representing classes. Let’s consider the following class (which has very little actual function).

public class Person        {        private string name;        private int age;        //-----       public ...

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.