Command Pattern - DESIGN PATTERNS (C#/.NET)

Поділитися
Вставка
  • Опубліковано 28 чер 2024
  • Learn about the command pattern, which is a behavioral pattern where operations are wrapped in objects. This allows the client to simply execute the command without having to know about the command's implementation. The command pattern is also useful for implementing other infrastructure related to operations, such as undoing or redoing operations.
    Design patterns are important for implementing object-oriented designs and adhering to SOLID principles. Understanding these fundamental patterns helps software developers build clean and maintainable applications.
    🕗 Timestamps:
    0:00 - Pattern Introduction
    0:53 - Demo Introduction
    2:04 - Using a Command Interface
    3:51 - Implementing Commands
    7:21 - Supporting Undo Operations
    8:30 - Implementing an UndoCommand
    10:23 - Using an UndoCommand Interface
    11:54 - Tracking the Command History
    16:57 - Summary
    📦 Source code: github.com/SingletonSean/desi...
    🔁 Full playlist: • Design Patterns
    🔗 Property changed snippet (propchange): singletonsean.s3.amazonaws.co...
    🎉 Celebrate the channel members: members.seandodson.com
    💎 Become a member: / @singletonsean
    📝 Check out my blog: seandodson.com
    🏆 Donate: www.paypal.com/biz/fund?id=UB...
  • Наука та технологія

КОМЕНТАРІ • 6

  • @mattniehoff2053
    @mattniehoff2053 Рік тому +1

    That card reveal timing on the pattern for cloning was 10/10.

  • @slayre15
    @slayre15 Рік тому +2

    Great videos man, been following your videos on MVVM for wpf and figured I'd throw this on before bed because I'm messing with a lot of commands. Just so happens I'm planning on implementing an undo functionality tomorrow for the app.. Great timing and now tomorrow will probably be a lot more productive than I had planned on. Liked and subscribed

  • @mariocamspam72
    @mariocamspam72 Рік тому +1

    Aww hell yeah, this rebranding and new design is awesome

  • @alexlitvin1297
    @alexlitvin1297 Рік тому

    Another great video, thanks a million

  • @alexprvn
    @alexprvn Рік тому

    Thanks for the Video. Can you please create a video on plugin base wpf application. Like having controls in dlls and using as a seperate file. i could not find much on this topic. it will help me to add updates and feature just by adding or replacing plugins.