KeyValuePairCodec<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.
Serializer for KeyValuePair<TKey,TValue>.
[Orleans.RegisterSerializer]
public sealed class KeyValuePairCodec<TKey,TValue> : Orleans.Serialization.Codecs.IFieldCodec<System.Collections.Generic.KeyValuePair<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type KeyValuePairCodec<'Key, 'Value> = class
interface IFieldCodec<KeyValuePair<'Key, 'Value>>
interface IFieldCodec
Public NotInheritable Class KeyValuePairCodec(Of TKey, TValue)
Implements IFieldCodec(Of KeyValuePair(Of TKey, TValue))
Type Parameters
- TKey
The key type.
- TValue
The value type.
- Inheritance
-
KeyValuePairCodec<TKey,TValue>
- Attributes
- Implements
-
IFieldCodec IFieldCodec<KeyValuePair<TKey,TValue>>
Constructors
KeyValuePairCodec<TKey,TValue>(IFieldCodec<TKey>, IFieldCodec<TValue>) |
Initializes a new instance of the KeyValuePairCodec<TKey,TValue> class. |
Methods
ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, KeyValuePair<TKey,TValue>) |
Writes a field. |