{"id":24324194,"url":"https://github.com/usausa/service-registration-generator","last_synced_at":"2025-09-27T09:31:09.415Z","repository":{"id":271210483,"uuid":"912620654","full_name":"usausa/service-registration-generator","owner":"usausa","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-06T10:21:57.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-06T10:22:23.445Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/usausa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-01-06T03:43:09.000Z","updated_at":"2025-01-06T10:22:00.000Z","dependencies_parsed_at":"2025-01-07T02:15:55.498Z","dependency_job_id":null,"html_url":"https://github.com/usausa/service-registration-generator","commit_stats":null,"previous_names":["usausa/service-registration-generator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usausa%2Fservice-registration-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usausa%2Fservice-registration-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usausa%2Fservice-registration-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/usausa%2Fservice-registration-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/usausa","download_url":"https://codeload.github.com/usausa/service-registration-generator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234418323,"owners_count":18829614,"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":[],"created_at":"2025-01-17T19:33:00.946Z","updated_at":"2025-09-27T09:31:09.409Z","avatar_url":"https://github.com/usausa.png","language":"C#","funding_links":[],"categories":["Content"],"sub_categories":["197. [BunnyTailServiceRegistration](https://ignatandrei.github.io/RSCG_Examples/v2/docs/BunnyTailServiceRegistration) , in the [DependencyInjection](https://ignatandrei.github.io/RSCG_Examples/v2/docs/rscg-examples#dependencyinjection) category"],"readme":"# BunnyTail.ServiceRegistrationGenerator\n\n| Package | Info |\n|:-|:-|\n| BunnyTail.ServiceRegistration | [![NuGet](https://img.shields.io/nuget/v/BunnyTail.ServiceRegistration.svg)](https://www.nuget.org/packages/BunnyTail.ServiceRegistration) |\n\n## What is this?\n\nService registory method generator.\n\n## Usage\n\n```csharp\nusing BunnyTail.ServiceRegistration;\n\nusing Microsoft.Extensions.DependencyInjection;\n\ninternal static class Program\n{\n    public static void Main()\n    {\n        using var provider = new ServiceCollection()\n            .AddServices()\n            .BuildServiceProvider();\n\n        var service = provider.GetRequiredService\u003cTestService\u003e();\n    }\n}\n\ninternal static partial class ServiceCollectionExtensions\n{\n    [ServiceRegistration(Lifetime.Singleton, \"Service$\")]\n    public static partial IServiceCollection AddServices(this IServiceCollection services);\n}\n\ninternal sealed class TestService\n{\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusausa%2Fservice-registration-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fusausa%2Fservice-registration-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fusausa%2Fservice-registration-generator/lists"}