Skip to content

ImmutableStackCodec<T>.ConvertToSurrogate(ImmutableStack<T>, ImmutableStackSurrogate<T>)

ConvertToSurrogate(ImmutableStack<T>, ImmutableStackSurrogate<T>)

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

Parameters

valueImmutableStack<T>
The value.
surrogateImmutableStackSurrogate<T>
The surrogate.