Delta.Diagnostics.Contract 0.0.4

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

DeltaDiagnostics

DeltaDiagnostics provides small, shared diagnostic and timing values for Furnace applications and tools. The public assembly is Delta.Diagnostics.Contract, in the Delta.Diagnostics namespace.

What it provides

  • Typed source identity, diagnostic codes, severity and source ranges.
  • Immutable diagnostic values for reporting source-related failures.
  • ProfileDuration for exact elapsed-time values and comparisons.
  • Invariant compact duration formatting with automatic units.

Quick start

<PackageReference Include="Delta.Diagnostics.Contract" Version="*" />
using Delta.Diagnostics;

ProfileDuration duration = ProfileDuration.FromTimeSpan(TimeSpan.FromMilliseconds(12));
Console.WriteLine(duration); // 12.ms

Core concepts

Source positions use zero-based UTF-16 line, column and offset values. Ranges are half-open. ProfileDuration stores non-negative picoseconds; callers own clock sampling, aggregation and publication.

Capabilities and limits

The package has no external dependencies and is suitable for .NET applications including NativeAOT. It defines values and ownership contracts only; it does not provide logging, profiling, storage, exception hierarchies or project-specific diagnostic codes.

Packages and examples

Install Delta.Diagnostics.Contract wherever shared diagnostics or timing values cross project boundaries. Consumer projects own presentation and aggregation policy.

Further reading

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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.
  • net8.0

    • No dependencies.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Delta.Diagnostics.Contract:

Package Downloads
DeltaXAML.Compiler

Build-time deterministic XAML semantic compiler and typed plans for DeltaXAML.

DeltaXAML

Retained XAML UI library with typed properties, bindings and layout.

DeltaRender.Vulkan

Vulkan implementation of the DeltaRender RenderGraph contract.

DeltaRender

Renderer-neutral Vulkan RenderGraph contracts for DeltaRender.

DeltaRender.UI

Reusable UI rendering provider with DeltaRender and generated UI/text shader programs.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.4 0 9/9/2026
0.0.3 250 9/2/2026