OutWit.Common.DependencyInjection.Generator
1.2.0
dotnet add package OutWit.Common.DependencyInjection.Generator --version 1.2.0
NuGet\Install-Package OutWit.Common.DependencyInjection.Generator -Version 1.2.0
<PackageReference Include="OutWit.Common.DependencyInjection.Generator" Version="1.2.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="OutWit.Common.DependencyInjection.Generator" Version="1.2.0" />
<PackageReference Include="OutWit.Common.DependencyInjection.Generator"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add OutWit.Common.DependencyInjection.Generator --version 1.2.0
#r "nuget: OutWit.Common.DependencyInjection.Generator, 1.2.0"
#:package OutWit.Common.DependencyInjection.Generator@1.2.0
#addin nuget:?package=OutWit.Common.DependencyInjection.Generator&version=1.2.0
#tool nuget:?package=OutWit.Common.DependencyInjection.Generator&version=1.2.0
OutWit.Common.DependencyInjection.Generator
Roslyn source generator that pairs with OutWit.Common.DependencyInjection.
For any partial class marked [InjectableHost], this generator emits the
IServiceProvider constructor and the matching private Services property
required by InjectAspect's field auto-discovery — so the host class only
declares its [Inject] properties.
The generator is bundled into the OutWit.Common.DependencyInjection package
as an analyzer. You normally do not install this package directly; it is
pulled in transitively. Use OutWit.Common.DependencyInjection instead.
For full documentation see the OutWit.Common.DependencyInjection README.
License
Licensed under the Apache License, Version 2.0. See LICENSE.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.