FSharpChoiceCodec<T1,T2> Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.