Partager via


FSharpListCodec<T> Classe

Définition

[Orleans.RegisterSerializer]
public class FSharpListCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpList<T>,Orleans.Serialization.FSharpListSurrogate<T>>
[<Orleans.RegisterSerializer>]
type FSharpListCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<List<'T>, FSharpListSurrogate<'T>>
Public Class FSharpListCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of FSharpList(Of T), FSharpListSurrogate(Of T))

Paramètres de type

T
Héritage
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpList<T>,FSharpListSurrogate<T>>
FSharpListCodec<T>
Attributs

Constructeurs

FSharpListCodec<T>(IValueSerializer<FSharpListSurrogate<T>>)

Méthodes

ConvertFromSurrogate(FSharpListSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

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

(Hérité de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpList<T>, FSharpListSurrogate<T>)
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 à