https://github.com/dcyuksel/decoratorpattern
Decorator Pattern in C#
https://github.com/dcyuksel/decoratorpattern
decorator-pattern design-patterns dotnet-core solid-principles
Last synced: 5 months ago
JSON representation
Decorator Pattern in C#
- Host: GitHub
- URL: https://github.com/dcyuksel/decoratorpattern
- Owner: dcyuksel
- License: mit
- Created: 2024-11-06T10:41:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-25T14:02:25.000Z (over 1 year ago)
- Last Synced: 2025-08-02T13:43:37.370Z (11 months ago)
- Topics: decorator-pattern, design-patterns, dotnet-core, solid-principles
- Language: C#
- Homepage: https://medium.com/@dnzcnyksl/decorator-pattern-in-c-a16234caf7c6
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Decorator Pattern in C#
The Decorator Pattern is a structural design pattern that allows us to add behaviors to classes separately using decorators. Each behavior is wrapped as a decorator and applied to the class. This approach lets us extend behaviors without modifying existing ones and keeps behaviors isolated. It also promotes code reuse, helping us avoid writing the same code multiple times.
For details: https://medium.com/@dnzcnyksl/decorator-pattern-in-c-a16234caf7c6