KeyValuePairCodec<TKey,TValue> クラス

定義

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))

型パラメーター

TKey

キーの型。

TValue

値の型です。

継承
KeyValuePairCodec<TKey,TValue>
属性
実装

コンストラクター

KeyValuePairCodec<TKey,TValue>(IFieldCodec<TKey>, IFieldCodec<TValue>)

KeyValuePairCodec<TKey,TValue> クラスの新しいインスタンスを初期化します。

メソッド

ReadValue<TInput>(Reader<TInput>, Field)

値を読み取ります。

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, KeyValuePair<TKey,TValue>)

フィールドを書き込みます。

適用対象