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>序列化程序。

适用于