Table of Contents

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

target IRecordable

Returns

ChronicleHash

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

target IRecordable
context ChronicleContext

Returns

ChronicleHash

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

target IRecordable
context ChronicleContext
writer ChronicleHashWriter

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

target IRecordable
writer ChronicleHashWriter