Design Patterns can speed up the development process by providing tested, proven development paradigms. This library contains abstractions (Interfaces and Abstract classes) of design patterns which can have generic abstractions.
$ dotnet add package Gof.DesignPatternsDesign Patterns can speed up the development process by providing tested, proven development paradigms that help produce cleaner and more maintainable software.
Code and opinions expressed in this repository are solely my own and do not express the views or opinions of my employer.
This code is not supported by any employer, nor is it profitable or providing any financial benefits.
All work performed during its creation was done in my spare/personal time, driven only by my willingness to help the open-source community.
You can install the latest stable version of Gof.DesignPatterns using NuGet:
PM> Install-Package Gof.DesignPatterns -Version 1.1.2
For more details about the package, please visit the NuGet page.
This project contains implementations of Gang of Four (GoF) design patterns that can have generic abstractions.
It provides reusable, extensible examples of how to apply these patterns in modern .NET development.
The following GoF Design Pattern categories are included:
Creational patterns provide various object creation mechanisms, which increase flexibility and reuse of existing code.
Structural patterns explain how to assemble objects and classes into larger structures while keeping these structures flexible and efficient.
Behavioral design patterns are concerned with algorithms and the assignment of responsibilities between objects.
Contributions and discussions are always welcome!
If you want to improve existing implementations or add new examples, feel free to open an issue or submit a pull request.
This project is distributed under the MIT License.
You are free to use it for personal or commercial purposes with proper attribution.