SemanticTypeModel.DependencyInjection
2.4.2
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SemanticTypeModel.DependencyInjection --version 2.4.2
NuGet\Install-Package SemanticTypeModel.DependencyInjection -Version 2.4.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="SemanticTypeModel.DependencyInjection" Version="2.4.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SemanticTypeModel.DependencyInjection" Version="2.4.2" />
<PackageReference Include="SemanticTypeModel.DependencyInjection" />
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 SemanticTypeModel.DependencyInjection --version 2.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SemanticTypeModel.DependencyInjection, 2.4.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.
#:package SemanticTypeModel.DependencyInjection@2.4.2
#: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=SemanticTypeModel.DependencyInjection&version=2.4.2
#tool nuget:?package=SemanticTypeModel.DependencyInjection&version=2.4.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
SemanticTypeModel.DependencyInjection
What this package does
SemanticTypeModel.DependencyInjection provides Microsoft.Extensions.DependencyInjection registration helpers for semantic model providers and projection services.
Install
dotnet add package SemanticTypeModel.DependencyInjection --version 2.4.0
Use when
- Install this package when you need Microsoft.Extensions.DependencyInjection registration helpers for semantic model providers and projection services.
- Keep package boundaries explicit in an application or library.
- Pair generated semantic models with the target runtime you are configuring.
Minimal example
using Microsoft.Extensions.DependencyInjection;
using SemanticTypeModel.DependencyInjection;
var services = new ServiceCollection();
services.AddSemanticTypeModelProvider(AppSemanticTypeModel.Create);
Main APIs
| API | Purpose |
|---|---|
AddSemanticTypeModelProvider |
Registers a model provider. |
Projection registrations |
Register target services supplied by projection packages. |
IServiceCollection integration |
Uses standard Microsoft dependency injection. |
Works with
- SemanticTypeModel.Core and whichever projection package your app registers.
SemanticTypeModel.Abstractions.Modelfor the current unified model surface.public-docs/samples/projects that demonstrate package-based usage.
Does not do
- It does not discover assemblies automatically or install every projection package transitively.
- It does not make milestone plans or historical research documents part of the public API.
- It does not change compatibility rules described in the compatibility documentation.
More documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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.
-
net10.0
- Microsoft.Extensions.DependencyInjection (>= 10.0.0)
- SemanticTypeModel.Abstractions (>= 2.4.2)
- SemanticTypeModel.Core (>= 2.4.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SemanticTypeModel.DependencyInjection:
| Package | Downloads |
|---|---|
|
SemanticTypeModel.JsonSchema
Code-first JSON Schema domain projection and Draft 2020-12 export for SemanticTypeModel. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 5.0.0 | 53 | 8/23/2026 |
| 4.0.1 | 104 | 8/18/2026 |
| 4.0.0 | 98 | 8/16/2026 |
| 2.6.0 | 115 | 8/4/2026 |
| 2.5.3 | 109 | 8/4/2026 |
| 2.5.1 | 109 | 8/4/2026 |
| 2.5.0 | 104 | 8/3/2026 |
| 2.4.6 | 104 | 8/3/2026 |
| 2.4.5 | 105 | 8/3/2026 |
| 2.4.4 | 113 | 8/2/2026 |
| 2.4.3 | 104 | 7/31/2026 |
| 2.4.2 | 108 | 7/31/2026 |
| 2.4.1 | 119 | 7/3/2026 |
| 2.4.0 | 119 | 7/2/2026 |
| 2.3.0 | 124 | 6/20/2026 |
| 2.2.0 | 136 | 6/16/2026 |
| 2.1.0 | 129 | 6/15/2026 |
| 2.0.0 | 128 | 6/7/2026 |
| 1.1.0 | 125 | 6/4/2026 |
| 1.0.0 | 130 | 6/1/2026 |