Skip to content

ImmutableStackCodec<T>.ConvertFromSurrogate(ImmutableStackSurrogate<T>)

ConvertFromSurrogate(ImmutableStackSurrogate<T>)

override
View source
public override ImmutableStack<T> ConvertFromSurrogate(ref ImmutableStackSurrogate<T> surrogate)
Converts a value from the surrogate type to the field type.

Parameters

surrogateImmutableStackSurrogate<T>
The surrogate.

Returns

The value.