Edit

Share via


FSharpOptionCodec<T>.ReadValue<TInput> Method

Definition

Reads a value.

public Microsoft.FSharp.Core.FSharpOption<T> ReadValue<TInput> (ref Orleans.Serialization.Buffers.Reader<TInput> reader, Orleans.Serialization.WireProtocol.Field field);
abstract member ReadValue : Reader * Orleans.Serialization.WireProtocol.Field -> option<'T>
override this.ReadValue : Reader * Orleans.Serialization.WireProtocol.Field -> option<'T>
Public Function ReadValue(Of TInput) (ByRef reader As Reader(Of TInput), field As Field) As FSharpOption(Of T)

Type Parameters

TInput

The reader input type.

Parameters

reader
Reader<TInput>

The reader.

field
Field

The field.

Returns

Microsoft.FSharp.Core.FSharpOption<T>

The value.

Implements

Applies to