Skip to content

ImmutableSortedDictionaryCodec<TKey, TValue> Methods

Serializer for System.Collections.Immutable.ImmutableSortedDictionary.

ConvertFromSurrogate(ImmutableSortedDictionarySurrogate<TKey, TValue>)

override
View source
public override ImmutableSortedDictionary<TKey, TValue> ImmutableSortedDictionaryCodec<TKey, ConvertFromSurrogate(ref ImmutableSortedDictionarySurrogate<TKey, TValue> surrogate)
Converts a value from the surrogate type to the field type.

Parameters

surrogateImmutableSortedDictionarySurrogate<TKey, TValue>
The surrogate.

Returns

The value.