C# Design Patterns: Decorator
Offered By: Pluralsight
Course Description
Overview
The decorator design pattern allows you to dynamically add behavior to your classes without modifying the original class. This allows you to layer in new functionality to a class while keeping different concerns cleanly separated.
The decorator design pattern allows you to dynamically add behavior to your classes without modifying the original class. This allows you to layer in new functionality to a class while keeping different concerns cleanly separated. The decorator pattern is especially useful for when you need to apply cross cutting concerns like logging, authorization, and caching, but can also be used to modify data passed to and from an object. Understanding how to apply the decorator pattern gives you a powerful tool when you need to add behavior to and extend the functionality of your classes.
The decorator design pattern allows you to dynamically add behavior to your classes without modifying the original class. This allows you to layer in new functionality to a class while keeping different concerns cleanly separated. The decorator pattern is especially useful for when you need to apply cross cutting concerns like logging, authorization, and caching, but can also be used to modify data passed to and from an object. Understanding how to apply the decorator pattern gives you a powerful tool when you need to add behavior to and extend the functionality of your classes.
Taught by
David Berry
Related Courses
C++ Programming: Object-Oriented DesignCodio via edX C++ Programming: A Hands-on Introduction
Codio via edX AP Computer Science A: Java Programming Classes and Objects
Purdue University via edX Data Structures and Design Patterns for Game Developers
University of Colorado System via Coursera Design Patterns
University of Alberta via Coursera