{"id":13458250,"url":"https://github.com/Finickyflame/DesignPatterns","last_synced_at":"2025-03-24T15:31:02.137Z","repository":{"id":118596493,"uuid":"160864783","full_name":"Finickyflame/DesignPatterns","owner":"Finickyflame","description":"Simple repository containing one simple example for all existing patterns in C#","archived":false,"fork":false,"pushed_at":"2024-03-08T19:32:39.000Z","size":68,"stargazers_count":252,"open_issues_count":0,"forks_count":31,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-03-16T03:04:37.258Z","etag":null,"topics":["csharp","design-patterns","dot-net","dot-net-core","dotnet","dotnet-core","dotnetcore","xunit"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"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/Finickyflame.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-07T19:06:21.000Z","updated_at":"2025-01-17T16:46:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"6b949509-b5b4-4c9b-b784-e534219f9e8a","html_url":"https://github.com/Finickyflame/DesignPatterns","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Finickyflame%2FDesignPatterns","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Finickyflame%2FDesignPatterns/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Finickyflame%2FDesignPatterns/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Finickyflame%2FDesignPatterns/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Finickyflame","download_url":"https://codeload.github.com/Finickyflame/DesignPatterns/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245297938,"owners_count":20592506,"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":["csharp","design-patterns","dot-net","dot-net-core","dotnet","dotnet-core","dotnetcore","xunit"],"created_at":"2024-07-31T09:00:48.435Z","updated_at":"2025-03-24T15:31:01.025Z","avatar_url":"https://github.com/Finickyflame.png","language":"C#","funding_links":[],"categories":["C\\#","C#"],"sub_categories":[],"readme":"# Design Patterns\n\nSimple repository containing one simple example for all existing patterns in C#.\n\n\n## Creational\n\nPatterns that flexibly create and instantiate objects for you.\n\n- [Abstract factory](DesignPatterns/Creational/AbstractFactory.cs) groups object factories that have a common theme.\n- [Builder](DesignPatterns/Creational/Builder.cs) constructs complex objects by separating construction and representation.\n- [Factory method](DesignPatterns/Creational/FactoryMethod.cs) creates objects without specifying the exact class to create.\n- [Prototype](DesignPatterns/Creational/Prototype.cs) creates objects by cloning an existing object.\n- [Singleton](DesignPatterns/Creational/Singleton.cs) restricts object creation for a class to only one instance.\n\n## Structural\n\nPatterns that define ways to compose objects to obtain new functionality.\n \n- [Adapter](DesignPatterns/Structural/Adapter.cs) allows classes with incompatible interfaces to work together.\n- [Bridge](DesignPatterns/Structural/Bridge.cs) decouples an abstraction from its implementation so that the two can vary independently.\n- [Composite](DesignPatterns/Structural/Composite.cs) composes zero-or-more similar objects so that they can be manipulated as one object.\n- [Decorator](DesignPatterns/Structural/Decorator.cs) dynamically adds/overrides behaviour in an existing method of an object.\n- [Facade](DesignPatterns/Structural/Facade.cs) provides a simplified interface to a large body of code.\n- [Flyweight](DesignPatterns/Structural/Flyweight.cs) reduces the cost of creating and manipulating a large number of similar objects.\n- [Private Class Data](DesignPatterns/Structural/PrivateClassData.cs) restricts exposure of accessor/mutator by limiting their visibility.\n- [Proxy](DesignPatterns/Structural/Proxy.cs) provides a placeholder for another object to control access, reduce cost, and reduce complexity.\n\n## Behavioral\n\nPatterns that specifically concern the communication between objects.\n\n- [Chain of responsibility](DesignPatterns/Behavioral/ChainOfResponsibility.cs) delegates commands to a chain of processing objects.\n- [Command](DesignPatterns/Behavioral/Command.cs) creates objects which encapsulate actions and parameters.\n- [Interpreter](DesignPatterns/Behavioral/Interpreter.cs) implements a specialized language.\n- [Iterator](DesignPatterns/Behavioral/Iterator.cs) accesses the elements of an object sequentially without exposing its underlying representation.\n- [Mediator](DesignPatterns/Behavioral/Mediator.cs) allows loose coupling between classes by being the only class that has detailed knowledge of their methods.\n- [Memento](DesignPatterns/Behavioral/Memento.cs) provides the ability to restore an object to its previous state (undo).\n- [Observer](DesignPatterns/Behavioral/Observer.cs) is a publish/subscribe pattern which allows a number of observer objects to see an event.\n- [State](DesignPatterns/Behavioral/State.cs) allows an object to alter its behavior when its internal state changes.\n- [Strategy](DesignPatterns/Behavioral/Strategy.cs) allows one of a family of algorithms to be selected on-the-fly at runtime.\n- [Template method](DesignPatterns/Behavioral/TemplateMethod.cs) defines the skeleton of an algorithm as an abstract class, allowing its subclasses to provide concrete behavior.\n- [Visitor](DesignPatterns/Behavioral/Visitor.cs) separates an algorithm from an object structure by moving the hierarchy of methods into one object.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFinickyflame%2FDesignPatterns","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FFinickyflame%2FDesignPatterns","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FFinickyflame%2FDesignPatterns/lists"}