Skip to content

FSharpMapCodec<TKey, TValue> Methods

Surrogate serializer for TField and all sub-types.

ConvertFromSurrogate(FSharpMapSurrogate<TKey, TValue>)

override
View source
public override FSharpMap<TKey, TValue> FSharpMapCodec<TKey, ConvertFromSurrogate(ref FSharpMapSurrogate<TKey, TValue> surrogate)
Converts a value from the surrogate type to the field type.

Parameters

surrogateFSharpMapSurrogate<TKey, TValue>
The surrogate.

Returns

The value.