Edit

Share via


ReferenceCodec.ReadReference Method

Definition

Overloads

ReadReference<T,TInput>(Reader<TInput>, Field)

Reads a referenced value.

ReadReference<TInput>(Reader<TInput>, Type)

Reads the reference.

ReadReference<T,TInput>(Reader<TInput>, Field)

Reads a referenced value.

public static T ReadReference<T,TInput> (ref Orleans.Serialization.Buffers.Reader<TInput> reader, Orleans.Serialization.WireProtocol.Field field);
static member ReadReference : Reader * Orleans.Serialization.WireProtocol.Field -> 'T
Public Shared Function ReadReference(Of T, TInput) (ByRef reader As Reader(Of TInput), field As Field) As T

Type Parameters

T

The type of the referenced object.

TInput

The reader input type.

Parameters

reader
Reader<TInput>

The reader.

field
Field

The field.

Returns

T

The referenced value.

Applies to

ReadReference<TInput>(Reader<TInput>, Type)

Reads the reference.

public static object ReadReference<TInput> (ref Orleans.Serialization.Buffers.Reader<TInput> reader, Type fieldType);
static member ReadReference : Reader * Type -> obj
Public Shared Function ReadReference(Of TInput) (ByRef reader As Reader(Of TInput), fieldType As Type) As Object

Type Parameters

TInput

The reader input type.

Parameters

reader
Reader<TInput>

The reader.

fieldType
Type

The field type.

Returns

The referenced value.

Applies to