Skip to content

FrozenDictionaryCodec<TKey, TValue> Methods

Serializer for System.Collections.Frozen.FrozenDictionary.

ConvertFromSurrogate(FrozenDictionarySurrogate<TKey, TValue>)

override
View source
public override FrozenDictionary<TKey, TValue> FrozenDictionaryCodec<TKey, ConvertFromSurrogate(ref FrozenDictionarySurrogate<TKey, TValue> surrogate)
Converts a value from the surrogate type to the field type.

Parameters

surrogateFrozenDictionarySurrogate<TKey, TValue>
The surrogate.

Returns

The value.