Skip to content

ImmutableHashSetCodec<T>.ConvertToSurrogate(ImmutableHashSet<T>, ImmutableHashSetSurrogate<T>)

ConvertToSurrogate(ImmutableHashSet<T>, ImmutableHashSetSurrogate<T>)

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

Parameters

valueImmutableHashSet<T>
The value.
surrogateImmutableHashSetSurrogate<T>
The surrogate.