zijian666.DI.Abstractions 1.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package zijian666.DI.Abstractions --version 1.4.0
                    
NuGet\Install-Package zijian666.DI.Abstractions -Version 1.4.0
                    
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="zijian666.DI.Abstractions" Version="1.4.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="zijian666.DI.Abstractions" Version="1.4.0" />
                    
Directory.Packages.props
<PackageReference Include="zijian666.DI.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add zijian666.DI.Abstractions --version 1.4.0
                    
#r "nuget: zijian666.DI.Abstractions, 1.4.0"
                    
#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.
#:package zijian666.DI.Abstractions@1.4.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=zijian666.DI.Abstractions&version=1.4.0
                    
Install as a Cake Addin
#tool nuget:?package=zijian666.DI.Abstractions&version=1.4.0
                    
Install as a Cake Tool

zijian666.DI

介绍

Microsoft.Extensions.DependencyInjection的功能拓展

更新日志

点击查看

安装教程

nuget - zijian666.DI
nuget - zijian666.DI.Autowired
nuget - zijian666.DI.NamedService nuget - zijian666.DI.Configuration

项目示例

点击查看

功能说明

1. Startup启动类

任意添加多个启动类, 并注入参数

详见 zijian666.DI/Startup

2. Component组件自动注册

标识为[Component]特性的类将自动注册为服务

详见 zijian666.DI/Component

3. HostLifeCallback 宿主生命周期回调

用于在宿主启动后和停止时执行委托回调

详见 zijian666.DI/HostLifeCallback

4. NamedService命名服务

可为注册服务命名

详见 zijian666.DI.NamedService

5. Autowired自动装配

仿 Java Spring 自动装配特性 @Autowrited

详见 zijian666.DI.Autowired

6. Configuration

仿 Java Spring 自动装配特性 @Autowrited

详见 zijian666.DI.Autowired

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows 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 zijian666.DI.Abstractions:

Package Downloads
zijian666.DI

Microsoft.Extensions.DependencyInjection的功能拓展

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.1 190 8/30/2025
1.4.0 190 7/2/2025

UPLOGS.md