ValueTupleCodec<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 ValueTuple<T1,T2>
[Orleans.RegisterSerializer]
public sealed class ValueTupleCodec<T1,T2> : Orleans.Serialization.Codecs.IFieldCodec<(T1, T2)>
[<Orleans.RegisterSerializer>]
type ValueTupleCodec<'T1, 'T2> = class
interface IFieldCodec<ValueTuple<'T1, 'T2>>
interface IFieldCodec
Public NotInheritable Class ValueTupleCodec(Of T1, T2)
Implements IFieldCodec(Of ValueTuple(Of T1, T2))
Type Parameters
- T1
The type of the tuple's first component.
- T2
The type of the tuple's second component.
- Inheritance
-
ValueTupleCodec<T1,T2>
- Attributes
- Implements
-
IFieldCodec IFieldCodec<ValueTuple<T1,T2>>
Constructors
ValueTupleCodec<T1,T2>(IFieldCodec<T1>, IFieldCodec<T2>) |
Initializes a new instance of the ValueTupleCodec<T1,T2> class. |
Methods
ReadValue<TInput>(Reader<TInput>, Field) |
Reads a value. |
WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, ValueTuple<T1,T2>) |
Writes a field. |