Injectio
Injectio copied to clipboard
Source generator that helps register attribute marked services in the dependency injection ServiceCollection
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.9.0 to 17.10.0. Release notes Sourced from Microsoft.NET.Test.Sdk's releases. v17.10.0 What's Changed Add missing runtimeconfig.json file for 8.0 by @MarcoRossignoli in microsoft/vstest#4792 Localized file check-in by OneLocBuild...
Bumps [Verify.Xunit](https://github.com/VerifyTests/Verify) from 24.1.0 to 24.2.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Hi there. First of all thank you for this brilliant library :) Today I discovered the following little issue when trying to register a service like the following ``` csharp...
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn) from 4.3.1 to 4.9.2. Release notes Sourced from Microsoft.CodeAnalysis.CSharp's releases. .NET 6.0.1 Release .NET 5.0.4 Release .NET 5.0.2 Release Notes Install Instructions Repos Core Changelog Sourced from Microsoft.CodeAnalysis.CSharp's...
So its not able to use this cause it's not const. I'm a little confused that the dotnet team decided to use a non-constant value for the key, maybe cause...
Hi, I found this but InjectioName was set, but the "Addxxx" is Not updated.  
I was adding an open generic class as below that ```csharp [RegisterSingleton(Registration = RegistrationStrategy.Self)] public class DataProtector { } ``` created the following registration inside the `DiscoveredServicesExtensions` class ```csharp global::Microsoft.Extensions.DependencyInjection.Extensions.ServiceCollectionDescriptorExtensions.TryAdd(...
Hi! Thanks for putting this project together. It's saved me a fair bit of boilerplate. 🙂 I was wondering if it would be possible to add an MSBuild property to...
Bumps [Microsoft.CodeAnalysis.CSharp](https://github.com/dotnet/roslyn) from 4.3.1 to 4.11.0. Release notes Sourced from Microsoft.CodeAnalysis.CSharp's releases. .NET 6.0.1 Release .NET 5.0.4 Release .NET 5.0.2 Release Notes Install Instructions Repos Core Changelog Sourced from Microsoft.CodeAnalysis.CSharp's...
Currently, Injectio generated `ServiceDescriptor.Describe` for each service: ``` cs ServiceCollectionDescriptorExtensions.TryAdd( serviceCollection, ServiceDescriptor.Describe( typeof(TService), typeof(TImplementation), ServiceLifetime.Scoped ) ); ``` Switching to `ServiceDescriptor.Scoped where TImplementation : TService` can detect type errors at...