ReadOnlyDictionaryCodec<TKey, TValue>
class
Namespace: Orleans.Serialization.Codecs
Serializer for
System.Collections.ObjectModel.ReadOnlyDictionary. public sealed class ReadOnlyDictionaryCodec<TKey, TValue> : GeneralizedReferenceTypeSurrogateCodec<ReadOnlyDictionary<TKey, TValue>, ReadOnlyDictionarySurrogate<TKey, TValue>> where TKey : notnullConstructors
ReadOnlyDictionaryCodec<TKey, TValue>(IValueSerializer<ReadOnlyDictionarySurrogate<TKey, TValue>>)Initializes a new instance of theOrleans.Serialization.Codecs.ReadOnlyDictionaryCodecclass.
Methods
ConvertFromSurrogate(ReadOnlyDictionarySurrogate<TKey, TValue>)Converts a value from the surrogate type to the field type.ConvertToSurrogate(ReadOnlyDictionary<TKey, TValue>, ReadOnlyDictionarySurrogate<TKey, TValue>)Converts a value to the surrogate type.
