C#3.0设计模式.pdf
1. C# Meets Design Patterns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
About Patterns 2
About UML 3
About C# 3.0 5
About the Examples 6
2. Structural Patterns: Decorator, Proxy, and Bridge . . . . . . . . . . . . . . . . . . . . . . . 8
Decorator Pattern 9
Proxy Pattern 22
Bridge Pattern 36
Example: OpenBook 39
Pattern Comparison 46
3. Structural Patterns: Composite and Flyweight . . . . . . . . . . . . . . . . . . . . . . . . . 49