Redigera

Dela via


ValueTupleCodec<T> Class

Definition

Serializer for ValueTuple<T1>.

[Orleans.RegisterSerializer]
public sealed class ValueTupleCodec<T> : Orleans.Serialization.Codecs.IFieldCodec<(T)>
[<Orleans.RegisterSerializer>]
type ValueTupleCodec<'T> = class
    interface IFieldCodec<ValueTuple<'T>>
    interface IFieldCodec
Public NotInheritable Class ValueTupleCodec(Of T)
Implements IFieldCodec(Of ValueTuple(Of T))

Type Parameters

T

The element type.

Inheritance
ValueTupleCodec<T>
Attributes
Implements

Constructors

ValueTupleCodec<T>(IFieldCodec<T>)

Initializes a new instance of the ValueTupleCodec<T> class.

Methods

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

Reads a value.

WriteField<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, ValueTuple<T>)

Writes a field.

Applies to