Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amingolmahalle/designpatterns_example
https://github.com/amingolmahalle/designpatterns_example
csharp design-patterns dotnet
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/amingolmahalle/designpatterns_example
- Owner: amingolmahalle
- Created: 2021-06-11T15:52:36.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-27T09:37:54.000Z (over 3 years ago)
- Last Synced: 2024-10-14T03:09:52.208Z (2 months ago)
- Topics: csharp, design-patterns, dotnet
- Language: C#
- Homepage:
- Size: 605 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DesignPatterns_Example
Abstract Factory:
According to Gang of Four Definition: “The Abstract Factory Design Pattern provides a way to encapsulate a group of individual factories that have a common theme without specifying their concrete classes“.
Facade:
Facade pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.
The facade design pattern is particularly used when a system is very complex or difficult to understand because the system has a large number of interdependent classes or its source code is unavailable.
The Facade (usually a wrapper) sits on the top of a group of subsystems and allows them to communicate in a unified manner.
Use Facade Design When There are many dependencies between clients and the implementation classes.
Observer:
The Observer design pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.