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
<PackageReference Include="Delta.Diagnostics.Contract" Version="0.0.4" />
<PackageVersion Include="Delta.Diagnostics.Contract" Version="0.0.4" />
<PackageReference Include="Delta.Diagnostics.Contract" />
paket add Delta.Diagnostics.Contract --version 0.0.4
#r "nuget: Delta.Diagnostics.Contract, 0.0.4"
#:package Delta.Diagnostics.Contract@0.0.4
#addin nuget:?package=Delta.Diagnostics.Contract&version=0.0.4
#tool nuget:?package=Delta.Diagnostics.Contract&version=0.0.4
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.
ProfileDurationfor 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 | Versions 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. |
-
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.