KeyValuePairCodec<TKey, TValue>
class
Namespace: Orleans.Serialization.Codecs
Serializer for
System.Collections.Generic.KeyValuePair. public sealed class KeyValuePairCodec<TKey, TValue> : IFieldCodec, IFieldCodec<KeyValuePair<TKey, TValue>>Constructors
KeyValuePairCodec<TKey, TValue>(IFieldCodec<TKey>, IFieldCodec<TValue>)Initializes a new instance of theOrleans.Serialization.Codecs.KeyValuePairCodecclass.
Methods
ReadValue(Reader<TInput>, Field)Reads a value.WriteField(Writer<TBufferWriter>, uint, Type, KeyValuePair<TKey, TValue>)Writes a field.
