Pure.Chart.Model.HashCodes
0.1.0-preview.2.0.0
dotnet add package Pure.Chart.Model.HashCodes --version 0.1.0-preview.2.0.0
NuGet\Install-Package Pure.Chart.Model.HashCodes -Version 0.1.0-preview.2.0.0
<PackageReference Include="Pure.Chart.Model.HashCodes" Version="0.1.0-preview.2.0.0" />
<PackageVersion Include="Pure.Chart.Model.HashCodes" Version="0.1.0-preview.2.0.0" />
<PackageReference Include="Pure.Chart.Model.HashCodes" />
paket add Pure.Chart.Model.HashCodes --version 0.1.0-preview.2.0.0
#r "nuget: Pure.Chart.Model.HashCodes, 0.1.0-preview.2.0.0"
#:package Pure.Chart.Model.HashCodes@0.1.0-preview.2.0.0
#addin nuget:?package=Pure.Chart.Model.HashCodes&version=0.1.0-preview.2.0.0&prerelease
#tool nuget:?package=Pure.Chart.Model.HashCodes&version=0.1.0-preview.2.0.0&prerelease
Pure.Chart.Model.HashCodes
Deterministic hash code implementations for chart model abstractions in the Pure ecosystem.
Overview
Pure.Chart.Model.HashCodes provides deterministic, byte-enumerable hash codes for every type in the chart model abstraction layer. Each type wraps one of the Pure.Chart.Model.Abstractions interfaces and produces a stable byte sequence by prepending a fixed 16-byte type-discriminator prefix before hashing the object's fields. The resulting sequences compose cleanly with Pure.HashCodes.DeterminedHash, enabling structural equality checks and content-addressed storage across chart configurations.
API
All types are sealed record and implement IDeterminedHash (which extends IEnumerable<byte>).
| Type | Wraps | Hashed fields |
|---|---|---|
ChartHash |
IChart |
Title, Description, Type, XAxis, YAxis, Series |
ChartTypeHash |
IChartType |
Name |
ChartSeriesHash |
IChartSeries |
Legend, XAxisSource, YAxisSource, LineType |
AxisHash |
IAxis |
Legend |
All hash types live in the Pure.Chart.Model.HashCodes namespace.
Dependencies
Pure.Chart.Model.Abstractions— chart domain interfaces (IChart,IChartType,IChartSeries,IAxis)Pure.HashCodes— deterministic, byte-enumerable hash computation over Pure primitives
Target Frameworks
- .NET 7
- .NET 8
- .NET 9
- .NET 10
Installation
dotnet add package Pure.Chart.Model.HashCodes
Usage
using Pure.Chart.Model.HashCodes;
IChart chart = ...; // any IChart implementation
// Enumerate the hash bytes directly
byte[] hash = new ChartHash(chart).ToArray();
// Compose with other IDeterminedHash values
IEnumerable<byte> combined = new DeterminedHash(
new ChartHash(chartA).Concat(new ChartHash(chartB))
);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 is compatible. 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
- Pure.Chart.Model.Abstractions (>= 0.1.0-preview.2.0.0)
- Pure.HashCodes (>= 2.1.0)
-
net7.0
- Pure.Chart.Model.Abstractions (>= 0.1.0-preview.2.0.0)
- Pure.HashCodes (>= 2.1.0)
-
net8.0
- Pure.Chart.Model.Abstractions (>= 0.1.0-preview.2.0.0)
- Pure.HashCodes (>= 2.1.0)
-
net9.0
- Pure.Chart.Model.Abstractions (>= 0.1.0-preview.2.0.0)
- Pure.HashCodes (>= 2.1.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Pure.Chart.Model.HashCodes:
| Package | Downloads |
|---|---|
|
Pure.Chart.RichRelationalModel.HashCodes
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0-preview.2.0.0 | 90 | 10/23/2026 |
| 0.1.0-preview.1.0.0 | 698 | 4/19/2026 |
| 0.1.0-preview.0.1.0 | 205 | 2/9/2026 |