AdCodicem.ValueObjects.AI 0.3.0

Prefix Reserved
dotnet add package AdCodicem.ValueObjects.AI --version 0.3.0
                    
NuGet\Install-Package AdCodicem.ValueObjects.AI -Version 0.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="AdCodicem.ValueObjects.AI" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AdCodicem.ValueObjects.AI" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="AdCodicem.ValueObjects.AI" />
                    
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 AdCodicem.ValueObjects.AI --version 0.3.0
                    
#r "nuget: AdCodicem.ValueObjects.AI, 0.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.
#:package AdCodicem.ValueObjects.AI@0.3.0
                    
#: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=AdCodicem.ValueObjects.AI&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=AdCodicem.ValueObjects.AI&version=0.3.0
                    
Install as a Cake Tool

AdCodicem.ValueObjects.AI

Microsoft.Extensions.AI support for AdCodicem value objects: tool and structured-output JSON schemas that carry each value object's rules, and a function wrapper that answers a rejected argument with its rule code, which the model can correct, instead of an exception it never sees. AOT-compatible.

It is a package of AdCodicem.ValueObjects, single-value DDD value objects for .NET 10 and later: a readonly partial struct marked [ValueObject<T>] gets its whole implementation from a source generator, and crosses every boundary as its underlying type. It works with the main package, which holds the generator:

dotnet add package AdCodicem.ValueObjects
dotnet add package AdCodicem.ValueObjects.AI
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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AdCodicem.ValueObjects.AI:

Package Downloads
AdCodicem.ValueObjects.ModelContextProtocol

Model Context Protocol support for AdCodicem value objects: tool input and output schemas that carry each value object's rules, and a value-object argument a rule refuses answered with its rule code, as a tool execution error the model can correct from, instead of a bare error. AOT-compatible.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0 47 10/29/2026
0.3.0-preview.425 49 10/27/2026
0.3.0-preview.322 144 10/19/2026
0.3.0-preview.283 93 10/12/2026