Injectio icon indicating copy to clipboard operation
Injectio copied to clipboard

Source generator that helps register attribute marked services in the dependency injection ServiceCollection

Results 16 Injectio issues
Sort by recently updated
recently updated
newest added

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...

dependencies
.NET

Bumps [Verify.Xunit](https://github.com/VerifyTests/Verify) from 24.1.0 to 24.2.0. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Verify.Xunit&package-manager=nuget&previous-version=24.1.0&new-version=24.2.0)](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...

dependencies
.NET

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...

dependencies
.NET

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. ![image](https://github.com/loresoft/Injectio/assets/20512463/f451fa1c-7fc0-4ef6-b2c1-33b0a87d50f4) ![image](https://github.com/loresoft/Injectio/assets/20512463/8ef39074-1ca0-4a21-8f01-7786644ead50)

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(...

enhancement

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...

enhancement

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...

dependencies
.NET

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...