Table of Contents

Class EncodedRawValue

Namespace
Temporalio.Converters
Assembly
Temporalio.dll

Implementation of a IEncodedRawValue.

public record EncodedRawValue : IEncodedRawValue, IEquatable<EncodedRawValue>
Inheritance
EncodedRawValue
Implements
Inherited Members

Constructors

EncodedRawValue(DataConverter, Payload)

Implementation of a IEncodedRawValue.

public EncodedRawValue(DataConverter DataConverter, Payload Payload)

Parameters

DataConverter DataConverter

Data converter to perform conversions.

Payload Payload

Raw payload.

Properties

DataConverter

Data converter to perform conversions.

public DataConverter DataConverter { get; init; }

Property Value

DataConverter

Payload

Raw payload.

public Payload Payload { get; init; }

Property Value

Payload

Methods

ToValueAsync(Type)

Decode and convert the raw value to the given type.

public Task<object?> ToValueAsync(Type type)

Parameters

type Type

Type to convert to.

Returns

Task<object>

Decoded and converted value.

ToValueAsync<T>()

Decode and convert the raw value to the given type.

public Task<T> ToValueAsync<T>()

Returns

Task<T>

Decoded and converted value.

Type Parameters

T

Type to convert to.