Skip to content

FSharpMapCodec<TKey, TValue>.ConvertToSurrogate(FSharpMap<TKey, TValue>, FSharpMapSurrogate<TKey, TValue>)

ConvertToSurrogate(FSharpMap<TKey, TValue>, FSharpMapSurrogate<TKey, TValue>)

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

Parameters

valueFSharpMap<TKey, TValue>
The value.
surrogateFSharpMapSurrogate<TKey, TValue>
The surrogate.