LeeTeke.Microsoft.DependencyInjection.Extensions.AOT 1.0.0-rc

This is a prerelease version of LeeTeke.Microsoft.DependencyInjection.Extensions.AOT.
There is a newer version of this package available.
See the version list below for details.
dotnet add package LeeTeke.Microsoft.DependencyInjection.Extensions.AOT --version 1.0.0-rc
                    
NuGet\Install-Package LeeTeke.Microsoft.DependencyInjection.Extensions.AOT -Version 1.0.0-rc
                    
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="LeeTeke.Microsoft.DependencyInjection.Extensions.AOT" Version="1.0.0-rc" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="LeeTeke.Microsoft.DependencyInjection.Extensions.AOT" Version="1.0.0-rc" />
                    
Directory.Packages.props
<PackageReference Include="LeeTeke.Microsoft.DependencyInjection.Extensions.AOT" />
                    
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 LeeTeke.Microsoft.DependencyInjection.Extensions.AOT --version 1.0.0-rc
                    
#r "nuget: LeeTeke.Microsoft.DependencyInjection.Extensions.AOT, 1.0.0-rc"
                    
#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 LeeTeke.Microsoft.DependencyInjection.Extensions.AOT@1.0.0-rc
                    
#: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=LeeTeke.Microsoft.DependencyInjection.Extensions.AOT&version=1.0.0-rc&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=LeeTeke.Microsoft.DependencyInjection.Extensions.AOT&version=1.0.0-rc&prerelease
                    
Install as a Cake Tool

LeeTeke.Microsoft.DependencyInjection.Extensions

本项目为Microsoft.DependencyInjection 的扩展方法使用,主要用于注册,需要搭配LeeTeke.Microsoft.DependencyInjection.Extensions使用

支持 native AOT

Nuget

NUGET

dotnet add package LeeTeke.Microsoft.DependencyInjection.Extensions
dotnet add package LeeTeke.Microsoft.DependencyInjection.Extensions.AOT

主要使用如下:

//AOT模式注册
using  LeeTeke.Microsoft.DependencyInjection.Extensions.AOT;
var services = new ServiceCollection();
services.AddFromAssembliyAOT();
var ioc = services.BuildServiceProvider();
There are no supported framework assets in this package.

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.

Version Downloads Last Updated
1.0.0 217 8/5/2025
1.0.0-rc1 209 8/5/2025
1.0.0-rc 212 8/5/2025