Class ChronicleHashSerializer
- Namespace
- Chronicler
- Assembly
- Chronicler.dll
Computes deterministic record hashes by traversing RecordData(IChronicler).
public static class ChronicleHashSerializer
- Inheritance
-
ChronicleHashSerializer
- Inherited Members
Methods
Compute(IRecordable)
Computes a deterministic hash for a recordable state graph using an empty context.
public static ChronicleHash Compute(IRecordable target)
Parameters
targetIRecordable
Returns
Compute(IRecordable, ChronicleContext)
Computes a deterministic hash for a recordable state graph using the supplied context.
public static ChronicleHash Compute(IRecordable target, ChronicleContext context)
Parameters
targetIRecordablecontextChronicleContext
Returns
Contribute(IRecordable, ChronicleContext, ref ChronicleHashWriter)
Contributes a recordable state graph to an existing caller-owned hash writer using the supplied context.
public static void Contribute(IRecordable target, ChronicleContext context, ref ChronicleHashWriter writer)
Parameters
targetIRecordablecontextChronicleContextwriterChronicleHashWriter
Contribute(IRecordable, ref ChronicleHashWriter)
Contributes a recordable state graph to an existing caller-owned hash writer using an empty context.
public static void Contribute(IRecordable target, ref ChronicleHashWriter writer)
Parameters
targetIRecordablewriterChronicleHashWriter