Deterministic hash code implementations for diagram model abstractions in the Pure ecosystem.
Pure.Diagram.Model.HashCodes provides deterministic, byte-enumerable hash codes for every type in the diagram model abstraction layer. Each type wraps one of the Pure.Diagram.Model.Abstractions interfaces and produces a stable byte sequence by prepending a fixed 16-byte type-discriminator prefix before hashing the object's fields.
All types are sealed record and implement IDeterminedHash (which extends IEnumerable<byte>).
| Type | Wraps | Hashed fields |
|---|---|---|
DiagramHash |
IDiagram |
Title, Description, Type, Series |
DiagramTypeHash |
IDiagramType |
Name |
DiagramSeriesHash |
IDiagramSeries |
Label, Source |
Pure.Diagram.Model.Abstractions— diagram domain interfacesPure.HashCodes— deterministic, byte-enumerable hash computation