ReadOnlyDictionaryCodec<TKey,TValue> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
[Orleans.RegisterSerializer]
public sealed class ReadOnlyDictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.ObjectModel.ReadOnlyDictionary<TKey,TValue>,Orleans.Serialization.Codecs.ReadOnlyDictionarySurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type ReadOnlyDictionaryCodec<'Key, 'Value> = class
inherit GeneralizedReferenceTypeSurrogateCodec<ReadOnlyDictionary<'Key, 'Value>, ReadOnlyDictionarySurrogate<'Key, 'Value>>
Public NotInheritable Class ReadOnlyDictionaryCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ReadOnlyDictionary(Of TKey, TValue), ReadOnlyDictionarySurrogate(Of TKey, TValue))
Type Parameters
- TKey
- TValue
- Inheritance
-
GeneralizedReferenceTypeSurrogateCodec<ReadOnlyDictionary<TKey,TValue>,ReadOnlyDictionarySurrogate<TKey,TValue>>ReadOnlyDictionaryCodec<TKey,TValue>
- Attributes
Constructors
ReadOnlyDictionaryCodec<TKey,TValue>(IValueSerializer<ReadOnlyDictionarySurrogate<TKey,TValue>>) |
Methods
ConvertFromSurrogate(ReadOnlyDictionarySurrogate<TKey,TValue>) | |
ConvertFromSurrogate(TSurrogate) |
Converts a value from the surrogate type to the field type. (Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
ConvertToSurrogate(ReadOnlyDictionary<TKey,TValue>, ReadOnlyDictionarySurrogate<TKey,TValue>) | |
ConvertToSurrogate(TField, TSurrogate) |
Converts a value to the surrogate type. (Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. (Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField) |
Writes a field. (Inherited from GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>) |