{"id":23428535,"url":"https://github.com/tobbie/c-sharp-design-patterns","last_synced_at":"2025-04-09T13:19:23.989Z","repository":{"id":48975833,"uuid":"380581392","full_name":"tobbie/c-sharp-design-patterns","owner":"tobbie","description":"Gang of Four design patterns in c#","archived":false,"fork":false,"pushed_at":"2023-12-18T02:51:40.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T07:27:17.444Z","etag":null,"topics":["abstract-factory","behavioral-patterns","builder","creational-patterns","factory-pattern","prototype","singleton-pattern","structural-patterns"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tobbie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-06-26T19:26:26.000Z","updated_at":"2023-12-17T08:05:09.000Z","dependencies_parsed_at":"2023-12-17T06:24:37.928Z","dependency_job_id":null,"html_url":"https://github.com/tobbie/c-sharp-design-patterns","commit_stats":null,"previous_names":["tobbie/c-sharp-design-patterns"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobbie%2Fc-sharp-design-patterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobbie%2Fc-sharp-design-patterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobbie%2Fc-sharp-design-patterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tobbie%2Fc-sharp-design-patterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tobbie","download_url":"https://codeload.github.com/tobbie/c-sharp-design-patterns/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045269,"owners_count":21038557,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abstract-factory","behavioral-patterns","builder","creational-patterns","factory-pattern","prototype","singleton-pattern","structural-patterns"],"created_at":"2024-12-23T07:13:56.394Z","updated_at":"2025-04-09T13:19:23.967Z","avatar_url":"https://github.com/tobbie.png","language":"C#","readme":"﻿[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Ftobbie%2Fc-sharp-design-patterns\u0026count_bg=%2379C83D\u0026title_bg=%23555555\u0026icon=\u0026icon_color=%23E7E7E7\u0026title=views\u0026edge_flat=false)](https://hits.seeyoufarm.com)\n\n## Design Patterns in C# - A collection of the Gang Of Four patterns (WIP)\nThe project is a group of class libraries that contain creational, behavioral and structural design patterns \n\n### Creational patterns \n\t* Prototype\n\t* Singleton\n\t* Factory Method\n\t* Abstract Factory\n\t* Builder\n\n### Structural patterns \n\t* Adapter\n\t* Bridge\n\t* Composite\n\t* Decorator\n\t* Facade\n\t* Flyweight\n\t* Proxy\n\n### Behavioural patterns\n\n\t* Strategy\n\t* Command\n\t* State\n\t* Mediator\n\t* Chain of Responsibility\n\t* Template Method\n\t* Visitor\n\t* Iterator\n\t* Observer\n\t* Memento\n\n\nTo get started, clone the repo, build the project, then run the console application named Program.EntryPoint. \nHere you'll find methods which you can uncomment to test out the pattern.\n\nThis solution requires `.NET 6` to run. Happy coding! :)\n\n### To learn more about software design patterns\nPlease visit [the design pattern catalog here](https://refactoring.guru/design-patterns/catalog)\n\n\n### To contribute\nPlease visit [the contribution guide](https://github.com/tobbie/c-sharp-design-patterns/blob/main/CONTRIBUTING.md)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobbie%2Fc-sharp-design-patterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftobbie%2Fc-sharp-design-patterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftobbie%2Fc-sharp-design-patterns/lists"}