Partager via


FSharpMapCodec<TKey,TValue> Classe

Définition

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

Paramètres de type

TKey
TValue
Héritage
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpMap<TKey,TValue>,FSharpMapSurrogate<TKey,TValue>>
FSharpMapCodec<TKey,TValue>
Attributs

Constructeurs

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

Méthodes

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

Convertit une valeur du type de substitution en type de champ.

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpMap<TKey,TValue>, FSharpMapSurrogate<TKey,TValue>)
ConvertToSurrogate(TField, TSurrogate)

Convertit une valeur en type de substitution.

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Lit une valeur.

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Écrit un champ.

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

S’applique à