Edit

Share via


FSharpOptionCodec<T> Class

Definition

Serializer for 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))

Type Parameters

T

The underlying type.

Inheritance
FSharpOptionCodec<T>
Attributes
Implements
IFieldCodec IFieldCodec<Microsoft.FSharp.Core.FSharpOption<T>>

Constructors

FSharpOptionCodec<T>(IFieldCodec<T>)

Initializes a new instance of the FSharpOptionCodec<T> class.

Methods

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

Reads a value.

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

Writes a field.

Applies to