Compartilhar via


FSharpRefCodec<T> Classe

Definição

[Orleans.RegisterSerializer]
public class FSharpRefCodec<T> : Orleans.Serialization.Codecs.GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Core.FSharpRef<T>,Orleans.Serialization.FSharpRefSurrogate<T>>
[<Orleans.RegisterSerializer>]
type FSharpRefCodec<'T> = class
    inherit GeneralizedReferenceTypeSurrogateCodec<ref<'T>, FSharpRefSurrogate<'T>>
Public Class FSharpRefCodec(Of T)
Inherits GeneralizedReferenceTypeSurrogateCodec(Of FSharpRef(Of T), FSharpRefSurrogate(Of T))

Parâmetros de tipo

T
Herança
GeneralizedReferenceTypeSurrogateCodec<Microsoft.FSharp.Core.FSharpRef<T>,FSharpRefSurrogate<T>>
FSharpRefCodec<T>
Atributos

Construtores

FSharpRefCodec<T>(IValueSerializer<FSharpRefSurrogate<T>>)

Métodos

ConvertFromSurrogate(FSharpRefSurrogate<T>)
ConvertFromSurrogate(TSurrogate)

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

(Herdado de GeneralizedReferenceTypeSurrogateCodec<TField,TSurrogate>)
ConvertToSurrogate(FSharpRef<T>, FSharpRefSurrogate<T>)
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