{"id":17182349,"url":"https://github.com/simoncropp/simpleinfoname","last_synced_at":"2025-04-13T16:30:50.287Z","repository":{"id":42576042,"uuid":"418031419","full_name":"SimonCropp/SimpleInfoName","owner":"SimonCropp","description":"Generates simple names for *Infos (types, parameters, properties, fields, and methods)","archived":false,"fork":false,"pushed_at":"2025-04-09T00:41:37.000Z","size":323,"stargazers_count":16,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-12T00:28:57.753Z","etag":null,"topics":[],"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/SimonCropp.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"license.txt","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},"funding":{"github":"SimonCropp"}},"created_at":"2021-10-17T05:35:59.000Z","updated_at":"2025-04-09T10:19:33.000Z","dependencies_parsed_at":"2024-02-06T12:48:20.170Z","dependency_job_id":"050edb88-4ed0-4db2-9eeb-91c3c9e04835","html_url":"https://github.com/SimonCropp/SimpleInfoName","commit_stats":{"total_commits":389,"total_committers":3,"mean_commits":"129.66666666666666","dds":0.3290488431876607,"last_synced_commit":"cb6f066a8cd2eddd920962afa72509e01f46b0aa"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FSimpleInfoName","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FSimpleInfoName/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FSimpleInfoName/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimonCropp%2FSimpleInfoName/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimonCropp","download_url":"https://codeload.github.com/SimonCropp/SimpleInfoName/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248743681,"owners_count":21154718,"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":"2024-10-15T00:36:51.228Z","updated_at":"2025-04-13T16:30:50.264Z","avatar_url":"https://github.com/SimonCropp.png","language":"C#","funding_links":["https://github.com/sponsors/SimonCropp"],"categories":[],"sub_categories":[],"readme":"# \u003cimg src='/src/icon.png' height='30px'\u003e SimpleInfoName\n\n[![Build status](https://ci.appveyor.com/api/projects/status/dl7snkk70b964ke4/branch/main?svg=true)](https://ci.appveyor.com/project/SimonCropp/SimpleInfoName)\n[![NuGet Status](https://img.shields.io/nuget/v/SimpleInfoName.svg)](https://www.nuget.org/packages/SimpleInfoName/)\n\nGenerates names for reflection infos. Adds a `SimpleName()` extension method to the following types.\n\n * Type\n * ParameterInfo\n * PropertyInfo\n * FieldInfo\n * MethodInfo\n * ConstructorInfo\n\n**See [Milestones](../../milestones?state=closed) for release notes.**\n\n## NuGet package\n\n * https://nuget.org/packages/SimpleInfoName/\n\n\n## Usage\n\nGiven a class definition of:\n\n\u003c!-- snippet: Target --\u003e\n\u003ca id='snippet-Target'\u003e\u003c/a\u003e\n```cs\nnamespace MyNamespace\n{\n    public class Parent\u003cT\u003e;\n\n    public class Target\u003cK\u003e : Parent\u003cint\u003e\n    {\n        public Target()\n        {\n        }\n\n        public string Property { get; set; } = null!;\n        public string field = null!;\n\n        public void Method\u003cY, D\u003e(List\u003cD\u003e parameter)\n        {\n        }\n    }\n}\n```\n\u003csup\u003e\u003ca href='/src/Tests/Snippets.cs#L6-L27' title='Snippet source file'\u003esnippet source\u003c/a\u003e | \u003ca href='#snippet-Target' title='Start of snippet'\u003eanchor\u003c/a\u003e\u003c/sup\u003e\n\u003c!-- endSnippet --\u003e\n\nAnd a constructed type of `Target\u003cint\u003e`.\n    \nThe simple names would be:\n\n\u003c!-- include: sample. path: /src/sample.include.md --\u003e\n|   |   |\n| - | - |\n| Type | `Target\u003cint\u003e` |\n| | Compared to `Type.FullName` of\u003cbr\u003e `MyNamespace.Target'1[[System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]` |\n| Constructor | `Target\u003cint\u003e.ctor()` |\n| Method | `Target\u003cint\u003e.Method(List\u003cbool\u003e parameter)` |\n| Parameter | `'parameter' of Target\u003cint\u003e.Method(List\u003cbool\u003e parameter)` |\n| Field | `Target\u003cint\u003e.field` |\n| Property | `Target\u003cint\u003e.Property` |\n\u003c!-- endInclude --\u003e\n\n\n## Icon\n\n[Complex](https://thenounproject.com/term/complex/2270599/) designed by [auttapol](https://thenounproject.com/monsterku69) from [The Noun Project](https://thenounproject.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoncropp%2Fsimpleinfoname","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimoncropp%2Fsimpleinfoname","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimoncropp%2Fsimpleinfoname/lists"}