Jack.Extensions.DependencyInjection 1.0.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Jack.Extensions.DependencyInjection --version 1.0.2.2                
NuGet\Install-Package Jack.Extensions.DependencyInjection -Version 1.0.2.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Jack.Extensions.DependencyInjection" Version="1.0.2.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Jack.Extensions.DependencyInjection --version 1.0.2.2                
#r "nuget: Jack.Extensions.DependencyInjection, 1.0.2.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Jack.Extensions.DependencyInjection as a Cake Addin
#addin nuget:?package=Jack.Extensions.DependencyInjection&version=1.0.2.2

// Install Jack.Extensions.DependencyInjection as a Cake Tool
#tool nuget:?package=Jack.Extensions.DependencyInjection&version=1.0.2.2                

支持字段采用[DependencyInjection]方式支持依赖注入,支持属性依赖注入,支持静态字段采用[DependencyInjection]依赖注入,类如果使用[DependencyInjection(Singleton)]等属性,会被自动注入。

.net core 2.x  Startup中:

       public IServiceProvider ConfigureServices(IServiceCollection services)
       {
            //your codes here ...

           return services.BuildJackServiceProvider();
       }

.net core 3.x Program中:
       public static IHostBuilder CreateHostBuilder(string[] args) =>
           Host.CreateDefaultBuilder(args)
           .UseServiceProviderFactory(new JackAspNetCoreServiceProviderFactory())
               .ConfigureWebHostDefaults(webBuilder =>
               {
                   webBuilder.UseStartup<Startup>();
               });
       }

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Jack.Extensions.DependencyInjection:

Package Downloads
Jack.Extensions.DependencyInjection.AspNetCore

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2.6 5,677 7/2/2020
1.0.2.5 1,113 6/19/2020
1.0.2.3 1,112 6/19/2020
1.0.2.2 1,501 6/2/2020
1.0.2.1 1,700 4/24/2020
1.0.2 1,268 4/24/2020
1.0.1.9 1,256 4/24/2020
1.0.1.8 1,263 2/11/2020
1.0.1.7 1,238 2/7/2020
1.0.1.6 1,171 2/5/2020
1.0.1.5 1,150 2/5/2020
1.0.1.3 1,317 1/19/2020
1.0.1.2 1,151 1/19/2020
1.0.1.1 1,215 1/19/2020
1.0.1 1,235 1/19/2020
1.0.0.9 1,239 1/16/2020
1.0.0.8 1,167 1/16/2020
1.0.0.5 1,154 1/16/2020
1.0.0.2 1,186 1/16/2020
1.0.0.1 1,047 1/16/2020
1.0.0 1,056 1/16/2020