ImmutableDictionaryCodec<TKey,TValue> クラス

定義

ImmutableDictionary<TKey,TValue>シリアライザー。

[Orleans.RegisterSerializer]
public sealed class ImmutableDictionaryCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<System.Collections.Immutable.ImmutableDictionary<TKey,TValue>,Orleans.Serialization.Codecs.ImmutableDictionarySurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type ImmutableDictionaryCodec<'Key, 'Value> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ImmutableDictionary<'Key, 'Value>, ImmutableDictionarySurrogate<'Key, 'Value>>
Public NotInheritable Class ImmutableDictionaryCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of ImmutableDictionary(Of TKey, TValue), ImmutableDictionarySurrogate(Of TKey, TValue))

型パラメーター

TKey

キーの型。

TValue

値の型です。

継承
ImmutableDictionaryCodec<TKey,TValue>
属性

コンストラクター

ImmutableDictionaryCodec<TKey,TValue>(IValueSerializer<ImmutableDictionarySurrogate<TKey,TValue>>)

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

メソッド

ConvertFromSurrogate(ImmutableDictionarySurrogate<TKey,TValue>)

ImmutableDictionary<TKey,TValue>シリアライザー。

ConvertFromSurrogate(TSurrogate)

サロゲート型の値をフィールド型に変換します。

(継承元 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableDictionary<TKey,TValue>, ImmutableDictionarySurrogate<TKey,TValue>)

ImmutableDictionary<TKey,TValue>シリアライザー。

ConvertToSurrogate(TField, TSurrogate)

値をサロゲート型に変換します。

(継承元 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

値を読み取ります。

(継承元 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

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

(継承元 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

適用対象