次の方法で共有


ReadOnlyDictionaryCodec<TKey,TValue> クラス

定義

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

型パラメーター

TKey
TValue
継承
ReadOnlyDictionaryCodec<TKey,TValue>
属性

コンストラクター

ReadOnlyDictionaryCodec<TKey,TValue>(IValueSerializer<ReadOnlyDictionarySurrogate<TKey,TValue>>)

メソッド

ConvertFromSurrogate(ReadOnlyDictionarySurrogate<TKey,TValue>)
ConvertFromSurrogate(TSurrogate)

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

(継承元 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ReadOnlyDictionary<TKey,TValue>, ReadOnlyDictionarySurrogate<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>)

適用対象