Table of Contents

Class TemporalTransferTypeConverterAttribute

Namespace
Temporalio.Converters
Assembly
Temporalio.dll

Marks a type as converting to and from a transfer type before payload conversion.

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct, Inherited = false)]
public sealed class TemporalTransferTypeConverterAttribute : Attribute
Inheritance
TemporalTransferTypeConverterAttribute
Inherited Members

Remarks

This is used by the SDK payload converter to delegate hook-aware values to the configured payload converter using the transfer type representation provided by ITemporalTransferTypeConverter. This API is experimental and may change in a future release.

Constructors

TemporalTransferTypeConverterAttribute(Type)

Initializes a new instance of the TemporalTransferTypeConverterAttribute class.

public TemporalTransferTypeConverterAttribute(Type converterType)

Parameters

converterType Type

Converter type implementing ITemporalTransferTypeConverter.

Properties

ConverterType

Gets the converter type.

public Type ConverterType { get; }

Property Value

Type