Edit

Share via


ValueTupleCodec<T1,T2,T3,T4,T5> Class

Definition

Serializer for ValueTuple<T1,T2,T3,T4,T5>.

[Orleans.RegisterSerializer]
public sealed class ValueTupleCodec<T1,T2,T3,T4,T5> : Orleans.Serialization.Codecs.IFieldCodec<(T1, T2, T3, T4, T5)>
[<Orleans.RegisterSerializer>]
type ValueTupleCodec<'T1, 'T2, 'T3, 'T4, 'T5> = class
    interface IFieldCodec<ValueTuple<'T1, 'T2, 'T3, 'T4, 'T5>>
    interface IFieldCodec
Public NotInheritable Class ValueTupleCodec(Of T1, T2, T3, T4, T5)
Implements IFieldCodec(Of ValueTuple(Of T1, T2, T3, T4, T5))

Type Parameters

T1

The type of the tuple's first component.

T2

The type of the tuple's second component.

T3

The type of the tuple's third component.

T4

The type of the tuple's fourth component.

T5

The type of the tuple's fifth component.

Inheritance
ValueTupleCodec<T1,T2,T3,T4,T5>
Attributes
Implements

Constructors

ValueTupleCodec<T1,T2,T3,T4,T5>(IFieldCodec<T1>, IFieldCodec<T2>, IFieldCodec<T3>, IFieldCodec<T4>, IFieldCodec<T5>)

Initializes a new instance of the ValueTupleCodec<T1,T2,T3,T4,T5> class.

Methods

ReadValue<TInput>(Reader<TInput>, Field)

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, ValueTuple<T1,T2,T3,T4,T5>)

Writes a field.

Applies to