Skip to content

ImmutableDictionaryCodec<TKey, TValue>.ConvertToSurrogate(ImmutableDictionary<TKey, TValue>, ImmutableDictionarySurrogate<TKey, TValue>)

ConvertToSurrogate(ImmutableDictionary<TKey, TValue>, ImmutableDictionarySurrogate<TKey, TValue>)

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

Parameters

valueImmutableDictionary<TKey, TValue>
The value.
surrogateImmutableDictionarySurrogate<TKey, TValue>
The surrogate.