共用方式為


ImmutableSortedDictionaryCodec<TKey,TValue> 類別

定義

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

類型參數

TKey

索引鍵類型。

TValue

值型別。

繼承
ImmutableSortedDictionaryCodec<TKey,TValue>
屬性

建構函式

ImmutableSortedDictionaryCodec<TKey,TValue>(IValueSerializer<ImmutableSortedDictionarySurrogate<TKey,TValue>>)

初始化 ImmutableSortedDictionaryCodec<TKey,TValue> 類別的新執行個體。

方法

ConvertFromSurrogate(ImmutableSortedDictionarySurrogate<TKey,TValue>)

ImmutableSortedDictionary<TKey,TValue> 序列化程式。

ConvertFromSurrogate(TSurrogate)

將值從 Surrogate 類型轉換為欄位類型。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(ImmutableSortedDictionary<TKey,TValue>, ImmutableSortedDictionarySurrogate<TKey,TValue>)

ImmutableSortedDictionary<TKey,TValue> 序列化程式。

ConvertToSurrogate(TField, TSurrogate)

將值轉換為 Surrogate 型別。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

讀取值。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

寫入欄位。

(繼承來源 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

適用於