Partilhar via


FSharpMapCodec<TKey,TValue> Classe

Definição

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

Parâmetros de tipo

TKey
TValue
Herança
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpMap<TKey,TValue>,FSharpMapSurrogate<TKey,TValue>>
FSharpMapCodec<TKey,TValue>
Atributos

Construtores

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

Métodos

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

Converte um valor do tipo alternativo para o tipo de campo.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpMap<TKey,TValue>, FSharpMapSurrogate<TKey,TValue>)
ConvertToSurrogate(TField, TSurrogate)

Converte um valor no tipo alternativo.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Lê um valor.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Grava um campo.

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Aplica-se a