Condividi tramite


FSharpListCodec<T> Classe

Definizione

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

Parametri di tipo

T
Ereditarietà
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Collections.FSharpList<T>,FSharpListSurrogate<T>>
FSharpListCodec<T>
Attributi

Costruttori

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

Metodi

ConvertFromSurrogate(FSharpListSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

Converte un valore dal tipo surrogato al tipo di campo.

(Ereditato da GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpList<T>, FSharpListSurrogate<T>)
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