FSharpChoiceCodec<T1,T2> Class
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.
Serializer for Microsoft.FSharp.Core.FSharpChoice`2.
[Orleans.RegisterSerializer]
public class FSharpChoiceCodec<T1,T2> : Orleans.Serialization.Codecs.IDerivedTypeCodec, Orleans.Serialization.Codecs.IFieldCodec<Microsoft.FSharp.Core.FSharpChoice<T1,T2>>
[<Orleans.RegisterSerializer>]
type FSharpChoiceCodec<'T1, 'T2> = class
interface IFieldCodec<Choice<'T1, 'T2>>
interface IFieldCodec
interface IDerivedTypeCodec
Public Class FSharpChoiceCodec(Of T1, T2)
Implements IDerivedTypeCodec, IFieldCodec(Of FSharpChoice(Of T1, T2))
Type Parameters
- T1
- T2
- Inheritance
-
FSharpChoiceCodec<T1,T2>
- Attributes
- Implements
Constructors
FSharpChoiceCodec<T1,T2>(IFieldCodec<T1>, IFieldCodec<T2>) |
Initializes a new instance of the FSharpChoiceCodec<T1,T2> class. |