In this video, I am going to walk through the Decorator Design Pattern. It is an Introduction video for .NET Developers [.NET 5 and C#].
The decorator pattern is a structural design pattern. The main intent of the pattern is to attach additional responsibility to an object dynamically. An alternative to subclassing.
The previous two videos in this Design Pattern series are:
1. Factory method design pattern: • Factory Method Design ...
2. Abstract factory design pattern: • Abstract Factory Desig...
3. Builder design pattern: • Builder Design Pattern...
4. Prototype design pattern: • Prototype Design Patte...
5. Adapter design pattern: • Adapter Design Pattern...
6. Bridge design pattern: • Bridge Design Pattern ...
00:07 - What is decorator pattern
00:41 - Explaining the use case for decorator pattern
04:14 - What would be an alternative for decorator pattern
04:38 - Implementation of the decorator pattern
07:38 - Compare/Contrast with SOLID design principles
08:20 - Using the decorator pattern through a Web API controller
4 июл 2024