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

Комментарии • 7

  • @deepanshi1047
    @deepanshi1047 7 месяцев назад +1

    well explained

  • @CodewithMasterJabbar
    @CodewithMasterJabbar 9 месяцев назад +1

    Thank you sir

  • @OnDemandTikTok
    @OnDemandTikTok Год назад

    Very well explained

  • @anupamchauhan8792
    @anupamchauhan8792 Год назад +1

    Thanks sir l felt hope in programming via your tutorials

  • @sudippachal4262
    @sudippachal4262 3 месяца назад

    With using the abstract class if the other classes implement the Interface it will work same manner. Please suggest.

  • @shaikhzayan8951
    @shaikhzayan8951 Год назад

    Can you make a video of the Blazor LifeCycle