SemanticTypeModel.Abstractions 2.4.2

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

SemanticTypeModel.Abstractions

What this package does

SemanticTypeModel.Abstractions provides shared model contracts, diagnostics contracts, and projection-neutral data structures used by the SemanticTypeModel package set.

Install

dotnet add package SemanticTypeModel.Abstractions --version 2.4.0

Use when

  • Install this package when you need shared model contracts, diagnostics contracts, and projection-neutral data structures used by the SemanticTypeModel package set.
  • Keep package boundaries explicit in an application or library.
  • Pair generated semantic models with the target runtime you are configuring.

Minimal example

using SemanticTypeModel.Abstractions.Model;

TypeSchemaModel model = AppSemanticTypeModel.Create();
foreach (TypeDefinition type in model.Types)
{
    Console.WriteLine(type.Name);
}

Main APIs

API Purpose
TypeSchemaModel Canonical semantic model root.
TypeDefinition Base contract for modeled types.
ObjectTypeDefinition Object type contract with properties, keys, relationships, and annotations.
SchemaDiagnostic Projection-neutral diagnostic contract.

Works with

  • SemanticTypeModel.Core, SemanticTypeModel.DotNet, and every projection package.
  • SemanticTypeModel.Abstractions.Model for the current unified model surface.
  • public-docs/samples/ projects that demonstrate package-based usage.

Does not do

  • It does not contain source generators, projection exporters, or framework-specific integration.
  • 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 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

    • No dependencies.

NuGet packages (10)

Showing the top 5 NuGet packages that depend on SemanticTypeModel.Abstractions:

Package Downloads
SemanticTypeModel.Core

Model builders, transformation pipeline, and validation for SemanticTypeModel.

SemanticTypeModel.DotNet

.NET extraction contracts and Roslyn-based semantic type extraction APIs.

SemanticTypeModel.DependencyInjection

Runtime composition and dependency injection helpers for SemanticTypeModel.

SemanticTypeModel.EFCore

EF Core model projection support for SemanticTypeModel.

SemanticTypeModel.Generators

Incremental source generator package for SemanticTypeModel compile-time extraction.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
5.0.0 103 8/23/2026
4.0.1 202 8/18/2026
4.0.0 188 8/16/2026
2.6.0 188 8/4/2026
2.5.3 191 8/4/2026
2.5.1 193 8/4/2026
2.5.0 185 8/3/2026
2.4.6 186 8/3/2026
2.4.5 187 8/3/2026
2.4.4 198 8/2/2026
2.4.3 183 7/31/2026
2.4.2 198 7/31/2026
2.4.1 199 7/3/2026
2.4.0 198 7/2/2026
2.3.0 204 6/20/2026
2.2.0 202 6/16/2026
2.1.0 202 6/15/2026
2.0.0 199 6/7/2026
1.1.0 190 6/4/2026
1.0.0 203 6/1/2026
Loading failed