https://github.com/mitevpi/c-sharp-design-patterns
Collection of various Object Oriented design patterns implemented in C#.
https://github.com/mitevpi/c-sharp-design-patterns
c-sharp design-patterns reference tutorial
Last synced: 7 months ago
JSON representation
Collection of various Object Oriented design patterns implemented in C#.
- Host: GitHub
- URL: https://github.com/mitevpi/c-sharp-design-patterns
- Owner: mitevpi
- License: mit
- Created: 2019-09-26T17:18:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T21:45:25.000Z (over 3 years ago)
- Last Synced: 2023-03-02T22:16:32.849Z (almost 3 years ago)
- Topics: c-sharp, design-patterns, reference, tutorial
- Language: C#
- Size: 3.93 MB
- Stars: 11
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# C# Design Patterns
Collection of various Object Oriented design patterns implemented in C#.
## Patterns
For a more comprehesive explanation of foundational Gang of Four (GoF) Design Patterns, please reference this [resource from dofactory](https://www.dofactory.com/net/design-patterns).
The current collection of Design Patterns includes the following:
1. [Factory](/factory)
2. [Abstract Factory](/abstract-factory)
3. [Singleton](/singleton)
4. [Decorator](/decorator)
5. [Iterator](/iterator)
6. [Observer](/observer)
7. [Repository](/repository)
8. [Unit of Work](/unit-of-work)
## Creational Patterns
### Factory
Creating an instance of several derived classes.

### Abstract Factory
Creating an instance of several families of classes.

### Singleton
A structure enforcing a class of which only a single instance can exist.

## Structural Patterns
### Decorator
Adding responsibilities to objects dynamically and layering functionality through "wrapping".

## Behavioral Patterns
### Iterator
Sequentially accessing the elements of a collection and making distinction between different protocols based on different collections.

### Observer
Watching and notifying change to a number of classes.

### Unit of Work
TBD
