共用方式為


FSharpChoiceCodec<T1,T2,T3,T4,T5> 類別

定義

[Orleans.RegisterSerializer]
public class FSharpChoiceCodec<T1,T2,T3,T4,T5> : Orleans.Serialization.Codecs.IDerivedTypeCodec, Orleans.Serialization.Codecs.IFieldCodec<Microsoft.FSharp.Core.FSharpChoice<T1,T2,T3,T4,T5>>
[<Orleans.RegisterSerializer>]
type FSharpChoiceCodec<'T1, 'T2, 'T3, 'T4, 'T5> = class
    interface IFieldCodec<Choice<'T1, 'T2, 'T3, 'T4, 'T5>>
    interface IFieldCodec
    interface IDerivedTypeCodec
Public Class FSharpChoiceCodec(Of T1, T2, T3, T4, T5)
Implements IDerivedTypeCodec, IFieldCodec(Of FSharpChoice(Of T1, T2, T3, T4, T5))

類型參數

T1
T2
T3
T4
T5
繼承
FSharpChoiceCodec<T1,T2,T3,T4,T5>
屬性
實作
IDerivedTypeCodec IFieldCodec IFieldCodec<Microsoft.FSharp.Core.FSharpChoice<T1,T2,T3,T4,T5>>

建構函式

FSharpChoiceCodec<T1,T2,T3,T4,T5>(IFieldCodec<T1>, IFieldCodec<T2>, IFieldCodec<T3>, IFieldCodec<T4>, IFieldCodec<T5>)

明確介面實作

IFieldCodec<FSharpChoice<T1,T2,T3,T4,T5>>.ReadValue<TInput>(Reader<TInput>, Field)
IFieldCodec<FSharpChoice<T1,T2,T3,T4,T5>>.WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, FSharpChoice<T1,T2,T3,T4,T5>)

適用於