Compartilhar via


FSharpChoiceCodec<T1,T2> Construtor

Definição

Inicializa uma nova instância da classe FSharpChoiceCodec<T1,T2>.

public FSharpChoiceCodec (Orleans.Serialization.Codecs.IFieldCodec<T1> item1Codec, Orleans.Serialization.Codecs.IFieldCodec<T2> item2Codec);
new Orleans.Serialization.FSharpChoiceCodec<'T1, 'T2> : Orleans.Serialization.Codecs.IFieldCodec<'T1> * Orleans.Serialization.Codecs.IFieldCodec<'T2> -> Orleans.Serialization.FSharpChoiceCodec<'T1, 'T2>
Public Sub New (item1Codec As IFieldCodec(Of T1), item2Codec As IFieldCodec(Of T2))

Parâmetros

item1Codec
IFieldCodec<T1>

O codec para T1.

item2Codec
IFieldCodec<T2>

O codec para T2.

Aplica-se a