ImmutableDictionaryCodec<TKey, TValue>
class
Namespace: Orleans.Serialization.Codecs
Serializer for
System.Collections.Immutable.ImmutableDictionary. public sealed class ImmutableDictionaryCodec<TKey, TValue> : GeneralizedReferenceTypeSurrogateCodec<ImmutableDictionary<TKey, TValue>, ImmutableDictionarySurrogate<TKey, TValue>>Constructors
ImmutableDictionaryCodec<TKey, TValue>(IValueSerializer<ImmutableDictionarySurrogate<TKey, TValue>>)Initializes a new instance of theOrleans.Serialization.Codecs.ImmutableDictionaryCodecclass.
Methods
ConvertFromSurrogate(ImmutableDictionarySurrogate<TKey, TValue>)Converts a value from the surrogate type to the field type.ConvertToSurrogate(ImmutableDictionary<TKey, TValue>, ImmutableDictionarySurrogate<TKey, TValue>)Converts a value to the surrogate type.
