Redigera

Dela via


FSharpValueOptionCodec<T> Class

Definition

Serializer for Microsoft.FSharp.Core.FSharpValueOption`1.

[Orleans.RegisterSerializer]
public class FSharpValueOptionCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<Microsoft.FSharp.Core.FSharpValueOption<T>>
[<Orleans.RegisterSerializer>]
type FSharpValueOptionCodec<'T> = class
    interface IFieldCodec<ValueOption<'T>>
    interface IFieldCodec
Public Class FSharpValueOptionCodec(Of T)
Implements IFieldCodec(Of FSharpValueOption(Of T))

Type Parameters

T
Inheritance
FSharpValueOptionCodec<T>
Attributes
Implements
IFieldCodec IFieldCodec<Microsoft.FSharp.Core.FSharpValueOption<T>>

Constructors

FSharpValueOptionCodec<T>(IFieldCodec<T>)

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

Explicit Interface Implementations

IFieldCodec<FSharpValueOption<T>>.ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

IFieldCodec<FSharpValueOption<T>>.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, FSharpValueOption<T>)

Writes a field.

Applies to