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
IPayloadConverterPayload converter.
FailureConverter
IFailureConverterFailure converter.
PayloadCodec
IPayloadCodecOptional payload codec.
Properties
Default
Gets default data converter instance.
public static DataConverter Default { get; }
Property Value
FailureConverter
Failure converter.
public IFailureConverter FailureConverter { get; init; }
Property Value
PayloadCodec
Optional payload codec.
public IPayloadCodec? PayloadCodec { get; init; }
Property Value
PayloadConverter
Payload converter.
public IPayloadConverter PayloadConverter { get; init; }