Edytuj

Udostępnij za pośrednictwem


FSharpChoiceCodec<T1,T2> Constructor

Definition

Initializes a new instance of the FSharpChoiceCodec<T1,T2> class.

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

Parameters

item1Codec
IFieldCodec<T1>

The codec for T1.

item2Codec
IFieldCodec<T2>

The codec for T2.

Applies to