Condividi tramite


FSharpMapCodec<TKey,TValue> Classe

Definizione

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

Parametri di tipo

TKey
TValue
Ereditarietà
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpMap<TKey,TValue>,FSharpMapSurrogate<TKey,TValue>>
FSharpMapCodec<TKey,TValue>
Attributi

Costruttori

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

Metodi

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

Converte un valore dal tipo surrogato al tipo di campo.

(Ereditato da GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpMap<TKey,TValue>, FSharpMapSurrogate<TKey,TValue>)
ConvertToSurrogate(TField, TSurrogate)

Converte un valore nel tipo surrogato.

(Ereditato da GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ReadValue<TInput>(Reader<TInput>, Field)

Legge un valore.

(Ereditato da GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, TField)

Scrive un campo.

(Ereditato da GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)

Si applica a