{"id":23514446,"url":"https://github.com/dgmjr-io/InterfaceGenerator","last_synced_at":"2025-08-28T08:31:19.894Z","repository":{"id":149921927,"uuid":"618364482","full_name":"dgmjr-io/InterfaceGenerator","owner":"dgmjr-io","description":"A Rosyn-powered library to generate interfaces from extant classes","archived":false,"fork":false,"pushed_at":"2024-02-21T00:06:11.000Z","size":403,"stargazers_count":0,"open_issues_count":21,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-25T14:03:10.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dgmjr-io.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-24T10:05:14.000Z","updated_at":"2023-03-24T10:05:21.000Z","dependencies_parsed_at":"2023-10-03T02:49:46.405Z","dependency_job_id":"ec43e203-ee27-4c16-80c1-6707bb9f4905","html_url":"https://github.com/dgmjr-io/InterfaceGenerator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dgmjr-io/InterfaceGenerator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgmjr-io%2FInterfaceGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgmjr-io%2FInterfaceGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgmjr-io%2FInterfaceGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgmjr-io%2FInterfaceGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dgmjr-io","download_url":"https://codeload.github.com/dgmjr-io/InterfaceGenerator/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dgmjr-io%2FInterfaceGenerator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272470220,"owners_count":24939927,"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-08-28T02:00:10.768Z","response_time":74,"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":[],"created_at":"2024-12-25T14:01:44.536Z","updated_at":"2025-08-28T08:31:19.601Z","avatar_url":"https://github.com/dgmjr-io.png","language":"C#","funding_links":[],"categories":["Contributors Welcome for those"],"sub_categories":["1. [ThisAssembly](https://ignatandrei.github.io/RSCG_Examples/v2/docs/ThisAssembly) , in the [EnhancementProject](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#enhancementproject) category"],"readme":"---\r\nauthors:\r\n  - dgmjr\r\ntitle: README.md\r\nlastmod: 2023-03-24-05:58:52\r\ncreated: 2023-03-24-05:58:52\r\nlicense: MIT\r\nkeywords:\r\n  - DGMJR-IO\r\ntags:\r\n  - DGMJR-IO\r\ncategories:\r\n  - DGMJR-IO\r\n---\r\n\r\n# Interface Generator\r\n\r\nYou can use this library to generate an interface from an extant class.  Let's say you want to create an interface for the DbContext class.  You can do that with the following code:\r\n\r\n```csharp\r\n[InterfaceGenerator(typeof(Microsoft.EntityFrameworkCore.DbContext))]\r\npublic partial interface IDbContext\r\n{\r\n}\r\n```\r\n\r\nMake sure to mark the interface as `partial` or it won't work.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgmjr-io%2FInterfaceGenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdgmjr-io%2FInterfaceGenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdgmjr-io%2FInterfaceGenerator/lists"}