{"id":18798624,"url":"https://github.com/liteobject/demo.designpattern.prototype","last_synced_at":"2025-07-31T15:37:38.352Z","repository":{"id":185346793,"uuid":"673362747","full_name":"LiteObject/Demo.DesignPattern.Prototype","owner":"LiteObject","description":"An example of prototype design pattern in C#","archived":false,"fork":false,"pushed_at":"2023-08-01T14:16:03.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-21T19:13:50.853Z","etag":null,"topics":["csharp","design-patterns","prototype-pattern"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LiteObject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-08-01T13:08:51.000Z","updated_at":"2023-08-01T14:16:59.000Z","dependencies_parsed_at":"2023-08-01T15:38:29.741Z","dependency_job_id":"ba79bfac-af69-464b-b2f5-d830a46d8afb","html_url":"https://github.com/LiteObject/Demo.DesignPattern.Prototype","commit_stats":null,"previous_names":["liteobject/demo.designpattern.prototype"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LiteObject/Demo.DesignPattern.Prototype","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2FDemo.DesignPattern.Prototype","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2FDemo.DesignPattern.Prototype/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2FDemo.DesignPattern.Prototype/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2FDemo.DesignPattern.Prototype/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiteObject","download_url":"https://codeload.github.com/LiteObject/Demo.DesignPattern.Prototype/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiteObject%2FDemo.DesignPattern.Prototype/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268065786,"owners_count":24190189,"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","status":"online","status_checked_at":"2025-07-31T02:00:08.723Z","response_time":66,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","prototype-pattern"],"created_at":"2024-11-07T22:12:30.798Z","updated_at":"2025-07-31T15:37:38.325Z","avatar_url":"https://github.com/LiteObject.png","language":"C#","readme":"# Prototype Design Pattern\n\nThe Prototype design pattern is a creational design pattern that provides a \nway to create new objects by copying existing ones, rather than creating new \nobjects from scratch.\n\n It allows you to create new objects by cloning an existing object that serves \n as a prototype.\n\n This pattern is useful when creating new objects is expensive in terms of \n time and resources, and when the initialization process is complex or requires \n external dependencies.\n\n## Shallow Copy \u0026 Deep Copy\n\nIn programming, a copy of an object can be created using either a shallow copy \nor a deep copy method. The difference between the two methods lies in how they \nduplicate the original object.\n\nThe key difference between shallow copy and deep copy is that a shallow copy \ncreates a new object that points to the same memory location as the original \nobject, while a deep copy creates a new object with new memory that is an exact \nreplica of the original object.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliteobject%2Fdemo.designpattern.prototype","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliteobject%2Fdemo.designpattern.prototype","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliteobject%2Fdemo.designpattern.prototype/lists"}