ruairica/source-generator-test


Language: C#


Playing around with source generators.

The Generator project is a source generator that finds all dependencies that are injected in the WorkerExample project and statically generates an extension method "AddGeneratedDependencies". This extension method essentially is "builder.Services.AddTransient<T,U>();" for all injected dependencies. The method is called in Program.cs in WorkerExample

Project Statistics

Sourcerank 2
Repository Size 8.79 KB
Stars 0
Forks 0
Watchers 1
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Created
Last updated
Last pushed

Top Contributors See all

Ruairi

Something wrong with this page? Make a suggestion

Last synced: 2024-04-25 13:51:19 UTC

Login to resync this repository