GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - vivopensource/gofpatternscsharp: Design Patterns for C# (Gang of Four)

BranchesTags
Open more actions menu

Latest commit

 

History

133 Commits
133 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
Core
Core
 
 
GofConsoleApp
GofConsoleApp
 
 
GofPatterns
GofPatterns
 
 
GofPatternsTests
GofPatternsTests
 
 
README
README
 
 
.gitignore
.gitignore
 
 
Directory.Packages.props
Directory.Packages.props
 
 
GofPatterns.sln
GofPatterns.sln
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
global.json
global.json
 
 

Repository files navigation

Design Patterns for C# (Gang of Four)

Introduction

This repository provides the implementation of the design patterns mentioned by the Gang of Four for C#, to solve common problems in software design. It takes away the burden of writing the underlying code for the design patterns, and focus on the problem at hand, i.e. using the patterns straight away for developing a well designed software solution.

It contains the ready-made classes and interfaces of the design patterns. They are written in the most standard way possible so that they can be easily understood and implemented. There are examples provided for each patterns provided by the library, and these example are referred for understanding and using them appropriately (see Available Patterns section).

Usage

Install

  • Target frameworks: Net 6, Net 4.5
  • Nuget package is available at: GofPatterns.
dotnet add package GofPatterns

Execute

There are examples for each of the design patterns mentioned in Available Patterns section, just click on the link of the design pattern to go to the respective page of the design pattern that provides information and example.

Available Patterns

Behavioral Patterns

  • Chain of Responsibility - CoR
  • Command
  • State
  • Strategy
  • Mediator
  • Observer

Structural Patterns

  • Proxy
  • Decorator
  • Adapter
  • Flyweight
  • Bridge
  • Composite

Creational Patterns

  • Factory
  • Abstract Factory
  • Builder

Code coverage

  • The code coverage is exceptional for the library, and the examples provided for each pattern
  • The library is tested for all the patterns, and the examples are also tested for the patterns they are demonstrating.

Result

To view the latest coverage result, please see the Pull request tab of the repository.

About

Design Patterns for C# (Gang of Four)

Topics

abstract-factory-patternadapter-patternbehavorial-patternbridge-patternbuilder-patternchain-of-responsiblitycommand-patterncomposite-patterncorcreational-patternsdecorator-patterndesign-patternsfactory-patternflyweight-patternmediator-patternobserver-patternproxy-patternstate-patternstrategy-patternstructural-pattern

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.