Implementing Decorator Design Pattern

Download c# eBook


Pros of using Decorator:

  • you can add new functionalities at runtime in different configurations
  • good alternative for inheritance
  • client can choose configuration he wants to use

Related Examples


49 Contributors: 1
Sunday, July 31, 2016
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial:

Download eBook