Compartir a través de


TupleCodec<T1,T2>.WriteField<TBufferWriter> Método

Definición

Escribe un campo.

public void WriteField<TBufferWriter> (ref Orleans.Serialization.Buffers.Writer<TBufferWriter> writer, uint fieldIdDelta, Type expectedType, Tuple<T1,T2> value) where TBufferWriter : System.Buffers.IBufferWriter<byte>;
abstract member WriteField : Writer * uint32 * Type * 'T1 * 'T2 -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
override this.WriteField : Writer * uint32 * Type * 'T1 * 'T2 -> unit (requires 'BufferWriter :> System.Buffers.IBufferWriter<byte>)
Public Sub WriteField(Of TBufferWriter As IBufferWriter(Of Byte)) (ByRef writer As Writer(Of TBufferWriter), fieldIdDelta As UInteger, expectedType As Type, value As Tuple(Of T1, T2))

Parámetros de tipo

TBufferWriter

Tipo de escritor de búfer.

Parámetros

writer
Writer<TBufferWriter>

El escritor.

fieldIdDelta
UInt32

Delta del identificador de campo.

expectedType
Type

Tipo esperado.

value
Tuple<T1,T2>

Valor.

Implementaciones

Se aplica a