Table of Contents

Delegate CodecTryTransform<TSource, TResult>

Namespace
Shard.Codecs
Assembly
Shard.Codecs.dll

Converts between a wire representation and a domain value without throwing away codec diagnostics.

public delegate bool CodecTryTransform<TSource, TResult>(in TSource source, CodecContext context, out TResult result)

Parameters

source TSource
Converts between a wire representation and a domain value without throwing away codec diagnostics.
context CodecContext
Converts between a wire representation and a domain value without throwing away codec diagnostics.
result TResult
Converts between a wire representation and a domain value without throwing away codec diagnostics.

Returns

bool
Converts between a wire representation and a domain value without throwing away codec diagnostics.

Type Parameters

TSource
TResult