ServiceScan.SourceGenerator icon indicating copy to clipboard operation
ServiceScan.SourceGenerator copied to clipboard

Assembly scanning source generator for Microsoft.Extensions.DependencyInjection

Results 3 ServiceScan.SourceGenerator issues
Sort by recently updated
recently updated
newest added

We could generate registrations with implementationFactory parameter: ```csharp services.AddTransient(s => new MyService()); ``` or ```csharp services.AddTransient(s => new MyService(s.GetRequieredService())); ``` It should be more performant, as it doesn't involve reflection...

enhancement

Attempt # 2 It does bring all of types from all of the assemblies into cache, but when I debug and breakpoint in the method, I can see that there...

@Dreamescaper Are you wllling to add the Embed api call into your attribute generation? Its a one line add.. https://andrewlock.net/exploring-dotnet-10-preview-features-4-solving-the-source-generator-marker-attribute-problem-in-dotnet-10/ This would make this source generator require dotnet 9 or...