Table of Contents

Class DataConverter

Namespace
Temporalio.Converters
Assembly
Temporalio.dll

Data converter which combines a payload converter, a failure converter, and a payload codec.

public record DataConverter : IEquatable<DataConverter>
Inheritance
DataConverter
Implements
Inherited Members
Extension Methods

Constructors

DataConverter(IPayloadConverter, IFailureConverter, IPayloadCodec?)

Data converter which combines a payload converter, a failure converter, and a payload codec.

public DataConverter(IPayloadConverter PayloadConverter, IFailureConverter FailureConverter, IPayloadCodec? PayloadCodec = null)

Parameters

PayloadConverter IPayloadConverter

Payload converter.

FailureConverter IFailureConverter

Failure converter.

PayloadCodec IPayloadCodec

Optional payload codec.

Properties

Default

Gets default data converter instance.

public static DataConverter Default { get; }

Property Value

DataConverter

FailureConverter

Failure converter.

public IFailureConverter FailureConverter { get; init; }

Property Value

IFailureConverter

PayloadCodec

Optional payload codec.

public IPayloadCodec? PayloadCodec { get; init; }

Property Value

IPayloadCodec

PayloadConverter

Payload converter.

public IPayloadConverter PayloadConverter { get; init; }

Property Value

IPayloadConverter