共用方式為


DictionaryBaseCodec<TKey,TValue> 類別

定義

Dictionary<TKey,TValue>串行化程式。

[Orleans.RegisterSerializer]
public sealed class DictionaryBaseCodec<TKey,TValue> : Orleans.Serialization.Serializers.IBaseCodec<System.Collections.Generic.Dictionary<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type DictionaryBaseCodec<'Key, 'Value> = class
    interface IBaseCodec<Dictionary<'Key, 'Value>>
    interface IBaseCodec
Public NotInheritable Class DictionaryBaseCodec(Of TKey, TValue)
Implements IBaseCodec(Of Dictionary(Of TKey, TValue))

類型參數

TKey

索引鍵類型。

TValue

值型別。

繼承
DictionaryBaseCodec<TKey,TValue>
屬性
實作

建構函式

DictionaryBaseCodec<TKey,TValue>(IFieldCodec<TKey>, IFieldCodec<TValue>, IFieldCodec<IEqualityComparer<TKey>>)

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

明確介面實作

IBaseCodec<Dictionary<TKey,TValue>>.Deserialize<TInput>(Reader<TInput>, Dictionary<TKey,TValue>)

Dictionary<TKey,TValue>串行化程式。

IBaseCodec<Dictionary<TKey,TValue>>.Serialize<TBufferWriter>(Writer<TBufferWriter>, Dictionary<TKey,TValue>)

Dictionary<TKey,TValue>串行化程式。

適用於