Skip to content

FSharpListCodec<T>.ConvertToSurrogate(FSharpList<T>, FSharpListSurrogate<T>)

ConvertToSurrogate(FSharpList<T>, FSharpListSurrogate<T>)

override
View source
public override void ConvertToSurrogate(FSharpList<T> value, ref FSharpListSurrogate<T> surrogate)
Converts a value to the surrogate type.

Parameters

valueFSharpList<T>
The value.
surrogateFSharpListSurrogate<T>
The surrogate.