Chain of Responsibility to the Rescue!

Описание к видео Chain of Responsibility to the Rescue!

Become a patron and get access to source code and exclusive live streams:   / chain-of-to-81381632  

Chain of Responsibility is one of the less-frequently used design patterns, but also one of the most useful patterns. It helps compose simple decision-making objects into a chain structure, so that the objects get the opportunity to decide in order of their appearance. The first object to successfully complete the task gets all the credits, and its response becomes the result of the entire chain.
That is the theory, and in this video you will learn the practical aspects of applying and implementing the Chain of Responsibility design pattern. We will address the issue of combining simple IComparer instances to build a multi-level sorting comparer object which can be used in contexts where only one IComparer object can be supplied.

Video courses on design patterns:
Design Patterns in C# Made Simple ► https://codinghelmet.com/go/design-pa...
Refactoring to Patterns ► https://codinghelmet.com/go/refactori...
Creating Objects ► https://codinghelmet.com/go/tactical-...
Managing Responsibilities ► https://codinghelmet.com/go/tactical-...
Control Flow ► https://codinghelmet.com/go/tactical-...

Chapters:
00:00 Intro
01:10 Understanding the need for the Chain of Responsibility
02:55 Implementing the Chain of Responsibility
05:20 Using the Chain of Responsibility
06:53 Implementing reusable partial comparers

Learn more from video courses:
Beginning Object-oriented Programming with C# ► https://codinghelmet.com/go/beginning...
Collections and Generics in C# ► https://codinghelmet.com/go/collectio...
Making Your C# Code More Object-oriented ► https://codinghelmet.com/go/making-yo...

Other courses at Pluralsight ► https://codinghelmet.com/go/pluralsight
Other courses at Udemy ► https://codinghelmet.com/go/udemy

Other videos on this channel you may be interested in watching:
Using GitHub Copilot to Write Complex Code | Step-by-step Tutorial ►    • Using GitHub Copilot to Write Complex...  
Coding with GitHub Copilot - Beginner to Master | VS Code Demo ►    • A Comprehensive Guide to GitHub Copil...  
What is Covariance and Contravariance in C# ►    • What is Covariance and Contravariance...  
How to Initialize a Clean ASP.NET Core Project with Entity Framework Core and Identity ►    • How to Initialize a Clean ASP.NET Cor...  
The Null Conundrum: A Guide to Optional Objects in C# ►    • How to Avoid Null Reference Exception...  

#designpatterns #dotnet

Комментарии

Информация по комментариям в разработке