Edytuj

Udostępnij za pośrednictwem


TupleCodec<T1,T2,T3> Class

Definition

Serializer for Tuple<T1,T2,T3>.

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

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.

Inheritance
TupleCodec<T1,T2,T3>
Attributes
Implements

Constructors

TupleCodec<T1,T2,T3>(IFieldCodec<T1>, IFieldCodec<T2>, IFieldCodec<T3>)

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

Methods

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

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Tuple<T1,T2,T3>)

Writes a field.

Applies to