Skip to content

ImmutableSortedDictionaryCodec<TKey, TValue> Constructors

Serializer for System.Collections.Immutable.ImmutableSortedDictionary.

ImmutableSortedDictionaryCodec<TKey, TValue>(IValueSerializer<ImmutableSortedDictionarySurrogate<TKey, TValue>>)

View source
public ImmutableSortedDictionaryCodec<TKey, ImmutableSortedDictionaryCodec(IValueSerializer<ImmutableSortedDictionarySurrogate<TKey, TValue>> surrogateSerializer)
Initializes a new instance of the Orleans.Serialization.Codecs.ImmutableSortedDictionaryCodec class.

Parameters

surrogateSerializerIValueSerializer<ImmutableSortedDictionarySurrogate<TKey, TValue>>
The surrogate serializer.