zijian666.DI.Net8 1.2.0-beta

This is a prerelease version of zijian666.DI.Net8.
dotnet add package zijian666.DI.Net8 --version 1.2.0-beta                
NuGet\Install-Package zijian666.DI.Net8 -Version 1.2.0-beta                
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.Net8" Version="1.2.0-beta" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add zijian666.DI.Net8 --version 1.2.0-beta                
#r "nuget: zijian666.DI.Net8, 1.2.0-beta"                
#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 zijian666.DI.Net8 as a Cake Addin
#addin nuget:?package=zijian666.DI.Net8&version=1.2.0-beta&prerelease

// Install zijian666.DI.Net8 as a Cake Tool
#tool nuget:?package=zijian666.DI.Net8&version=1.2.0-beta&prerelease                

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 net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0-beta 34 11/27/2024

UPLOGS.md