FSharpOptionCodec<T>.ReadValue<TInput> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.