1
00:00:05,910 --> 00:00:07,810
Hello everyone. My name is David Berry,

2
00:00:07,810 --> 00:00:10,340
and welcome to my course, C# Design

3
00:00:10,340 --> 00:00:12,600
Patterns: Decorator. I'm a Pluralsight

4
00:00:12,600 --> 00:00:14,350
author, and in this course we're going to

5
00:00:14,350 --> 00:00:16,010
learn about one of the classic Gang of

6
00:00:16,010 --> 00:00:18,810
Four design patterns, the decorator. The

7
00:00:18,810 --> 00:00:20,280
decorator pattern allows you to

8
00:00:20,280 --> 00:00:22,520
dynamically add functionality to classes

9
00:00:22,520 --> 00:00:25,060
without modifying the target class. It

10
00:00:25,060 --> 00:00:26,940
does this by creating a wrapper around the

11
00:00:26,940 --> 00:00:28,860
original class, which gives you an

12
00:00:28,860 --> 00:00:32,120
extension point to inject in new behavior.

13
00:00:32,120 --> 00:00:33,430
In this course, I'll show you how the

14
00:00:33,430 --> 00:00:35,660
decorator pattern works. We'll code up and

15
00:00:35,660 --> 00:00:37,250
apply a couple of decorator classes

16
00:00:37,250 --> 00:00:39,050
ourselves, and we'll see where the

17
00:00:39,050 --> 00:00:41,230
decorator pattern is used within .NET

18
00:00:41,230 --> 00:00:44,220
itself. Before starting this course, you

19
00:00:44,220 --> 00:00:45,770
should be comfortable with object‑oriented

20
00:00:45,770 --> 00:00:48,080
concepts in C#, especially the use of

21
00:00:48,080 --> 00:00:50,710
interfaces. By the end of this course,

22
00:00:50,710 --> 00:00:52,230
you'll know everything you need to know

23
00:00:52,230 --> 00:00:53,970
about how to use the decorator pattern in

24
00:00:53,970 --> 00:00:56,480
your projects. I hope you'll join me on

25
00:00:56,480 --> 00:00:58,170
this journey to learn the decorator design

26
00:00:58,170 --> 00:01:06,000
pattern in C# with this course on Pluralsight.

