{"id":21865344,"url":"https://github.com/shlifedev/csharp-code-gen","last_synced_at":"2025-03-21T21:13:05.576Z","repository":{"id":154210197,"uuid":"473457753","full_name":"shlifedev/csharp-code-gen","owner":"shlifedev","description":null,"archived":false,"fork":false,"pushed_at":"2022-10-11T16:59:32.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T15:45:55.243Z","etag":null,"topics":["csharp-code"],"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/shlifedev.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":"2022-03-24T04:34:58.000Z","updated_at":"2023-04-24T03:58:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"85f61c75-0fe4-48fc-9c2f-ae83299f139c","html_url":"https://github.com/shlifedev/csharp-code-gen","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/shlifedev%2Fcsharp-code-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shlifedev%2Fcsharp-code-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shlifedev%2Fcsharp-code-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shlifedev%2Fcsharp-code-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shlifedev","download_url":"https://codeload.github.com/shlifedev/csharp-code-gen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244868753,"owners_count":20523591,"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-code"],"created_at":"2024-11-28T04:16:01.609Z","updated_at":"2025-03-21T21:13:05.571Z","avatar_url":"https://github.com/shlifedev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# chsarp code gen\n  very simple code-gen for chsarp language.\n  \n## Example\n\n```cs\n    CodeGenerator generator = new CodeGenerator();\n    generator.UsingNamespace(\"System.Collections.Generic\"); \n    generator.CreateClass(\"Game.Test\", \"ClassNameTest\"); \n    generator.AddField(\"int\", \"userId\");\n    generator.AddField(\"int\", \"userId2\");\n    generator.AddField(\"int\", \"userId3\"); \n    generator.AddMethod(\"void\", \"GetUsers\", \"//code\"); \n    var code = generator.GenerateCode();\n```\n\n## Result\n\n```cs\nusing System.Collections.Generic;\nnamespace Game.Test {\npublic class ClassNameTest{\npublic int userId;  \npublic int userId2;  \npublic int userId3;  \npublic void GetUsers()\n{\n //code \n}\n}\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshlifedev%2Fcsharp-code-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshlifedev%2Fcsharp-code-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshlifedev%2Fcsharp-code-gen/lists"}