Design patterns and practices in .NET: the Decorator design pattern

Introduction The Decorator pattern aims to extend the functionality of objects at runtime. It achieves this goal by wrapping the object in a decorator class leaving the original object intact. The result is an enhanced implementation of the object which does not break any client code that’s using the object. It is an alternative solution … Continue reading Design patterns and practices in .NET: the Decorator design pattern