zijian666.DI 1.3.0

dotnet add package zijian666.DI --version 1.3.0
                    
NuGet\Install-Package zijian666.DI -Version 1.3.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" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="zijian666.DI" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="zijian666.DI" />
                    
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 --version 1.3.0
                    
#r "nuget: zijian666.DI, 1.3.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.
#addin nuget:?package=zijian666.DI&version=1.3.0
                    
Install zijian666.DI as a Cake Addin
#tool nuget:?package=zijian666.DI&version=1.3.0
                    
Install zijian666.DI 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on zijian666.DI:

Package Downloads
zijian666.WebApiExtensions

用于快速创建简单易用的标准化WebApi项目

zijian666.DI.Autowired

Autowired自动装配

zijian666.DI.Configuration

依赖注入配置相关扩展方法

zijian666.DI.Net8

支持KeyedService

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.0 175 3/13/2025
1.2.7.1-beta 94 2/20/2025
1.2.7-beta 90 2/20/2025
1.2.4.2-beta 100 12/24/2024
1.2.4-beta 117 12/23/2024
1.2.0.1-beta 119 11/27/2024
1.1.4-beta 121 9/26/2024
1.1.3-beta 139 9/18/2024
1.1.0.15-beta 175 6/24/2024
1.0.16.1 198 3/12/2024
1.0.15.6 148 3/7/2024
1.0.15.5 128 3/5/2024
1.0.15.3 132 3/4/2024
1.0.15.1 125 2/28/2024
1.0.15 123 2/28/2024
1.0.14 215 10/15/2023
1.0.13 142 10/12/2023
1.0.7 398 4/7/2023
1.0.6 649 6/10/2022
1.0.4 600 6/9/2022
1.0.3 491 4/15/2022
1.0.2 764 4/30/2021
1.0.1 383 3/29/2021

UPLOGS.md