FSharpOptionCodec<T> Class
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.
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. |