共用方式為


FSharpValueOptionCodec<T> 類別

定義

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

類型參數

T
繼承
FSharpValueOptionCodec<T>
屬性
實作
IFieldCodec IFieldCodec<Microsoft.FSharp.Core.FSharpValueOption<T>>

建構函式

FSharpValueOptionCodec<T>(IFieldCodec<T>)

初始化 FSharpValueOptionCodec<T> 類別的新執行個體。

明確介面實作

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

讀取值。

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

寫入欄位。

適用於