Skip to content

Contains an implementations for most of design patterns in C# language

Notifications You must be signed in to change notification settings

AlBannaTechno/C-Sharp-Design-Pattern-Collection

Repository files navigation

Design Pattern Implementations In C# 8

This projects contains most of object oriented design patterns implemented in C# 8 This is an update of the old/legacy project [removed]

Notes: Both Concurrency patterns, Functional Patterns does not implemented here yet

For more details

Keys to understand this projects and get most benefits
  • you should familiar with advanced and most recent c# 8 features

    • you may need some C++/17+ knowledge in some patterns implementations
  • You should read at least one book about design pattern and solid principles

  • You must read the source code in ordered way

    • For Patterns we will explains the order below
    • For patterns implementations every files should start with {C}_[N]_description
      • You must track this order :
      • For example : A_1_VectorRasterNoCaching.cs comes before A_2_VectorRasterWithCaching.cs in adapter pattern
  • Every Pattern Directory should have *.md file to describe that pattern Not Completed Yet

Order

  • Solid Principles : may not contains any implementation

    • SingleResponsibility
    • OpenClosed
    • LiskovSubstitution
    • InterfaceSegregation
    • DependencyInversion
  • Creational Patterns

    • Builder
    • Factories
    • Prototype
    • Singleton
  • Structural Patterns

    • Adapter
    • Bridge
    • Composite
    • Decorator
    • Facade
    • FlyWight
    • Proxy
  • Behavioural Patterns

    • Chain Of Responsibility
    • Command
    • Interpreter
    • Iterator
    • Mediator
    • Memento
    • Null Object
    • Observer
    • State
    • Strategy
    • Template Method
    • Visitor

Since this project is a replacement of the old project this not completed yet, so you may found shortage in descriptions

with some not-completed examples, but i think by Nov 2020 the update will be completed

Also notice , C++ Design patterns repository also removed , until i update it to C++ 20 i will not publish it , may published by Dec 2020

About

Contains an implementations for most of design patterns in C# language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages