Skip to content

ImmutableHashSetCodec<T> Methods

Serializer for System.Collections.Immutable.ImmutableHashSet.

ConvertFromSurrogate(ImmutableHashSetSurrogate<T>)

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

Parameters

surrogateImmutableHashSetSurrogate<T>
The surrogate.

Returns

The value.