Decorator Design Pattern explained in Hindi (हिंदी) with code example C# | Design Patterns Series
HTML-код
- Опубликовано: 4 ноя 2024
- In this video, we will discuss about the Wrapper design pattern. What is the problem it solves, the code structure of the pattern and code example of using this pattern.
Recommended readings:
Clean Architecture: A Craftsman's Guide to Software Structure and Design : amzn.to/3VLJaXc
Design Patterns: Elements of Reusable Object-Oriented Software: amzn.to/3B4zr4P
Head First Design Patterns: amzn.to/3B4ZTLJ
Decorator pattern allows a user to add new functionality to an existing object without altering its structure. This type of design pattern comes under structural pattern as this pattern acts as a wrapper to existing class.
This pattern creates a decorator class which wraps the original class and provides additional functionality keeping class methods signature intact.
Topics covered:
Introduction to decorator design pattern
Problem statement
Solution provided
Code Structure
C# Code example
Role of Decorator and Wrapper classes
#designpatterns #cleancode
---------------------------------------------------------------------------------------------
My setup:
Mic: amzn.to/44HGe1H
Laptop: amzn.to/3pclzTe
Keyboard: amzn.to/3B3e3Nn
Mouse: amzn.to/3VLKB82
well explained
Thank you sir
Very well explained
Thanks sir l felt hope in programming via your tutorials
Glad to hear that
With using the abstract class if the other classes implement the Interface it will work same manner. Please suggest.
Can you make a video of the Blazor LifeCycle