{"id":13727780,"url":"https://github.com/RyanAlameddine/SourceGeneratorDemo","last_synced_at":"2025-05-08T00:30:46.000Z","repository":{"id":124154372,"uuid":"295600845","full_name":"RyanAlameddine/SourceGeneratorDemo","owner":"RyanAlameddine","description":"My presentation demo for C# 9 source generators","archived":false,"fork":false,"pushed_at":"2021-07-27T15:10:37.000Z","size":18,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-04T02:07:42.050Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RyanAlameddine.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}},"created_at":"2020-09-15T03:10:05.000Z","updated_at":"2024-01-27T14:51:30.000Z","dependencies_parsed_at":"2024-01-06T09:58:13.307Z","dependency_job_id":"73066a08-acf9-4046-a538-5ea0d374c7da","html_url":"https://github.com/RyanAlameddine/SourceGeneratorDemo","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/RyanAlameddine%2FSourceGeneratorDemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanAlameddine%2FSourceGeneratorDemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanAlameddine%2FSourceGeneratorDemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RyanAlameddine%2FSourceGeneratorDemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RyanAlameddine","download_url":"https://codeload.github.com/RyanAlameddine/SourceGeneratorDemo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224679733,"owners_count":17351855,"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-08-03T02:00:32.922Z","updated_at":"2024-11-14T19:30:20.497Z","avatar_url":"https://github.com/RyanAlameddine.png","language":"C#","funding_links":[],"categories":["Demo, PoC and excercise projects"],"sub_categories":["Other"],"readme":"# SourceGeneratorDemo\nC# 9 source generators practice/demo project\n\nSource generators allow users to create a Code-Analysis project which is able to actually add source code to the assembly on compile time. \nThis is similar to reflection but has some key advantages in the sense of performance and also user-friendlyness because intellisense can pick up on generated source.\nThis project contains three demos, one which is a simple hello world generator, one which automatically generates properties with a notify property changed event for all fields with a specific attribute,\nand one which generates a static OpCode class which loads all the opCodes registered in a supplied json file in the project at compile time and generates instances of an OpCode class to represent them.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRyanAlameddine%2FSourceGeneratorDemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRyanAlameddine%2FSourceGeneratorDemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRyanAlameddine%2FSourceGeneratorDemo/lists"}