All Projects → RefactoringGuru → Design Patterns Csharp

RefactoringGuru / Design Patterns Csharp

Licence: other
Design Pattern Examples in C#

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Design Patterns Csharp

Clean Flutter App
Aplicativo feito em Flutter usando TDD, Clean Architecture, Design Patterns e SOLID principles
Stars: ✭ 163 (-23.47%)
Mutual labels:  design-patterns
Baldphone
A new accessible interface for your smartphone, suitable for seniors
Stars: ✭ 181 (-15.02%)
Mutual labels:  design-patterns
Learningsummary
涵盖大部分Java进阶需要掌握的知识,包括【微服务】【中间件】【缓存】【数据库优化】【搜索引擎】【分布式】等等,欢迎Star~
Stars: ✭ 201 (-5.63%)
Mutual labels:  design-patterns
Design Patterns Explained With Food
GoF Design Patterns with "Real-World" examples involving Food-Related Businesses and mock dependencies
Stars: ✭ 2,152 (+910.33%)
Mutual labels:  design-patterns
Unity Design Pattern
🍵 All Gang of Four Design Patterns written in Unity C# with many examples. And some Game Programming Patterns written in Unity C#. | 各种设计模式的Unity3D C#版本实现
Stars: ✭ 2,600 (+1120.66%)
Mutual labels:  design-patterns
Golang design pattern
Code to achieve the design model with golang
Stars: ✭ 185 (-13.15%)
Mutual labels:  design-patterns
100 Lines Of Code Challenge Js
Write Everything in JavaScript under 100 Lines!!!😈
Stars: ✭ 157 (-26.29%)
Mutual labels:  design-patterns
Learning Oop In Php
A collection of resources to learn object-oriented programming and related concepts for PHP developers.
Stars: ✭ 2,359 (+1007.51%)
Mutual labels:  design-patterns
Design Patterns And Idioms In Es6
Design patterns and idioms in JS(ES6) /w traceur
Stars: ✭ 179 (-15.96%)
Mutual labels:  design-patterns
Wdb106 Flutter
WEB+DB PRESS Vol.106のAndroid・iOSアプリ設計のサンプルをFlutterではどう書くかというサンプル https://www.amazon.co.jp/dp/4774199435?tag=mono0926-22
Stars: ✭ 188 (-11.74%)
Mutual labels:  design-patterns
Awesome Design Patterns
A curated list of software and architecture related design patterns.
Stars: ✭ 15,579 (+7214.08%)
Mutual labels:  design-patterns
Algorithms Data Structures In Typescript
Stars: ✭ 175 (-17.84%)
Mutual labels:  design-patterns
Unitysingleton
The best way to implement singleton pattern in Unity.
Stars: ✭ 185 (-13.15%)
Mutual labels:  design-patterns
Design Patterns
Stars: ✭ 164 (-23%)
Mutual labels:  design-patterns
Archit Ios
Intelygenz iOS Architecture
Stars: ✭ 203 (-4.69%)
Mutual labels:  design-patterns
Python Clean Architecture
A Python toolkit for applications driven by The Clean Architecture
Stars: ✭ 159 (-25.35%)
Mutual labels:  design-patterns
Golang Design Patterns
Implementation of design patterns in Golang
Stars: ✭ 181 (-15.02%)
Mutual labels:  design-patterns
Dntframeworkcore
Lightweight and Extensible Infrastructure for Building Web Applications - Web Application Framework
Stars: ✭ 208 (-2.35%)
Mutual labels:  design-patterns
Reactpatterns
React patterns & techniques to use in development for React Developer ⚛ .
Stars: ✭ 201 (-5.63%)
Mutual labels:  design-patterns
Design Patterns In Swift
📖 Design Patterns implemented in Swift 5.0
Stars: ✭ 13,146 (+6071.83%)
Mutual labels:  design-patterns

Design Patterns in C#

This repository is part of the Refactoring.Guru project.

It contains C# examples for all classic GoF design patterns. Each pattern includes two examples:

  • [x] Conceptual examples show the internal structure of patterns with detailed comments.
  • [ ] RealWold examples show how the patterns can be used in a real-world C# application.

Requirements

Most examples are console apps built using .NET Core 2.0.

For the best experience, we recommend working with examples with these IDEs:

Contributor's Guide

We appreciate any help, whether it's a simple fix of a typo or a whole new example. Just make a fork, do your change and submit a pull request.

Here's a style guide which might help you to keep your changes consistent with our code:

  1. All code should follow the Microsoft C# code style guide.

  2. Try to hard wrap the code at 80th's character. It helps to list the code on the website without scrollbars.

  3. The actual examples should be represented by projects with the following naming convention: {PatternName}.{ExampleName}.

  4. The code should have the following namespace: RefactoringGuru.DesignPatterns.{PatternName}.{ExampleName}.

  5. Aim to put all code within one file. We realize that it's not how it supposed to be done in production. But it helps people to better understand examples, since all code fits into one screen.

  6. Comments may or may not have language tags in them, such as this:

     // EN: All products families have the same varieties (MacOS/Windows).
     //
     // This is a MacOS variant of a button.
     //
     // RU: Все семейства продуктов имеют одни и те же вариации (MacOS/Windows).
     //
     // Это вариант кнопки под MacOS.
    

    This notation helps to keep the code in one place while allowing the website to generates separate versions of examples for all listed languages. Don't be scared and ignore the non-English part of such comments. If you want to change something in a comment like this, just do it. Even if you do it wrong, we'll tell you how to fix it during the Pull Request.

License

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

Creative Commons License

Credits

Authors: Alexander Shvets (@neochief) and Alexey Pyltsyn (@lex111)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].