Showing posts with label decorator. Show all posts
Showing posts with label decorator. Show all posts

August 10, 2011

The Decorator Pattern with Ninject


The Decorator Pattern is an excellent way to add functionality to existing objects at run time while honoring the open/closed principle. I decided to put together a sample project demonstrating this pattern in C# along with the DI container Ninject.