DEV Community

loading...

Decorating Command Handler with Decorator Pattern in .NET 5

lukaszreszke profile image Łukasz Reszke ・1 min read

Hey.

This is my first video, where I describe and show how you can use decorator pattern with .NET 5 default dependency injection to extend the class behaviour, without modifying it. This is one of possible Open/Close principle implementations.

Hope you enjoy!

https://www.youtube.com/watch?v=R_-3VwMH5Jg&t=5s

Discussion (0)

pic
Editor guide