Delta.Diagnostics.Contract
0.0.5
dotnet add package Delta.Diagnostics.Contract --version 0.0.5
NuGet\Install-Package Delta.Diagnostics.Contract -Version 0.0.5
<PackageReference Include="Delta.Diagnostics.Contract" Version="0.0.5" />
<PackageVersion Include="Delta.Diagnostics.Contract" Version="0.0.5" />
<PackageReference Include="Delta.Diagnostics.Contract" />
paket add Delta.Diagnostics.Contract --version 0.0.5
#r "nuget: Delta.Diagnostics.Contract, 0.0.5"
#:package Delta.Diagnostics.Contract@0.0.5
#addin nuget:?package=Delta.Diagnostics.Contract&version=0.0.5
#tool nuget:?package=Delta.Diagnostics.Contract&version=0.0.5
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.
ILoggerand a replaceableLogger.Instancewith a no-op default sink.DebugandTracefacades whose calls are controlled by the corresponding compilation symbols.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. The logger is a sink contract only; producers own its backend, filtering, formatting and exception policy. The package does not provide profiling implementations, 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
Retained XAML UI library with typed properties, bindings and layout. |
|
|
DeltaXAML.Compiler
Build-time deterministic XAML semantic compiler and typed plans for DeltaXAML. |
|
|
DeltaRender
Renderer-neutral Vulkan RenderGraph contracts for DeltaRender. |
|
|
DeltaRender.Vulkan
Vulkan implementation of the DeltaRender RenderGraph contract. |
|
|
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 |
|---|