FSharpMapCodec<TKey,TValue> 类

定义

[Orleans.RegisterSerializer]
public class FSharpMapCodec<TKey,TValue> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpMap<TKey,TValue>,Orleans.Serialization.FSharpMapSurrogate<TKey,TValue>>
[<Orleans.RegisterSerializer>]
type FSharpMapCodec<'Key, 'Value> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<Map<'Key, 'Value>, FSharpMapSurrogate<'Key, 'Value>>
Public Class FSharpMapCodec(Of TKey, TValue)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of FSharpMap(Of TKey, TValue), FSharpMapSurrogate(Of TKey, TValue))

类型参数

TKey
TValue
继承
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpMap<TKey,TValue>,FSharpMapSurrogate<TKey,TValue>>
FSharpMapCodec<TKey,TValue>
属性

构造函数

FSharpMapCodec<TKey,TValue>(IValueSerializer<FSharpMapSurrogate<TKey,TValue>>)

方法

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

将值从代理项类型转换为字段类型。

(继承自 GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpMap<TKey,TValue>, FSharpMapSurrogate<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>)

适用于