Compartir a través de


FSharpOptionCodec<T> Clase

Definición

Serializador para Microsoft.FSharp.Core.FSharpOption`1.

[Orleans.RegisterSerializer]
public sealed class FSharpOptionCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<Microsoft.FSharp.Core.FSharpOption<T>>
[<Orleans.RegisterSerializer>]
type FSharpOptionCodec<'T> = class
    interface IFieldCodec<option<'T>>
    interface IFieldCodec
Public NotInheritable Class FSharpOptionCodec(Of T)
Implements IFieldCodec(Of FSharpOption(Of T))

Parámetros de tipo

T

Tipo subyacente.

Herencia
FSharpOptionCodec<T>
Atributos
Implementaciones
IFieldCodec IFieldCodec<Microsoft.FSharp.Core.FSharpOption<T>>

Constructores

FSharpOptionCodec<T>(IFieldCodec<T>)

Inicializa una nueva instancia de la clase FSharpOptionCodec<T>.

Métodos

ReadValue<TInput>(Reader<TInput>, Field)

Lee un valor.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, FSharpOption<T>)

Escribe un campo.

Se aplica a