Partager via


FSharpChoiceCodec<T1,T2,T3,T4> Classe

Définition

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

Paramètres de type

T1
T2
T3
T4
Héritage
FSharpChoiceCodec<T1,T2,T3,T4>
Attributs
Implémente
IDerivedTypeCodec IFieldCodec IFieldCodec<Microsoft.FSharp.Core.FSharpChoice<T1,T2,T3,T4>>

Constructeurs

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

Implémentations d’interfaces explicites

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

S’applique à