Skip to content

ImmutableDictionaryCodec<TKey, TValue> Methods

Serializer for System.Collections.Immutable.ImmutableDictionary.

ConvertFromSurrogate(ImmutableDictionarySurrogate<TKey, TValue>)

override
View source
public override ImmutableDictionary<TKey, TValue> ImmutableDictionaryCodec<TKey, ConvertFromSurrogate(ref ImmutableDictionarySurrogate<TKey, TValue> surrogate)
Converts a value from the surrogate type to the field type.

Parameters

surrogateImmutableDictionarySurrogate<TKey, TValue>
The surrogate.

Returns

The value.