Table of Contents

Namespace Temporalio.Converters

Classes

BinaryNullConverter

Encoding converter for null values.

BinaryPlainConverter

Encoding converter for byte arrays.

BinaryProtoConverter

Encoding converter for protobuf binary data.

ConverterExtensions

Extensions for data, payload, and encoding converters.

DataConverter

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

DefaultFailureConverter

Default implementation of IFailureConverter.

DefaultFailureConverter.WithEncodedCommonAttributes

Failure converter with EncodeCommonAttributes as true.

DefaultFailureConverterOptions

Options for a failure converter.

DefaultPayloadConverter

Default implementation of a payload converter which iterates over a collection of IEncodingConverter.

EncodedRawValue

Implementation of a IEncodedRawValue.

ExternalStorage

Configuration for offloading large payloads to an external storage system.

ISerializationContext.Activity

Serialization context for activities. See WithSerializationContext(ISerializationContext) for information on when this is made available to converters and codecs.

ISerializationContext.Nexus

Serialization context for Nexus operation payloads, identifying the Nexus endpoint, service, and resolved operation the payload belongs to. See WithSerializationContext(ISerializationContext) for information on when this is made available to converters and codecs.

ISerializationContext.Workflow

Serialization context for workflows. See WithSerializationContext(ISerializationContext) for information on when this is made available to converters and codecs.

IStorageDriverTargetInfo.Activity

Target for payloads stored on behalf of a standalone activity.

IStorageDriverTargetInfo.Workflow

Target for payloads stored on behalf of a workflow. Also used for workflow activities, which store against their owning workflow rather than themselves.

JsonCommonTypeConverter

Converter to/from JSON from/to common types.

JsonPlainConverter

Encoding converter for all objects via JSON.

JsonProtoConverter

Encoding converter for protobuf JSON data.

PayloadCodecExtensions

Extension methods for IPayloadCodec.

PayloadValidationError

Creates application failures that report invalid Nexus operation input from payload conversion.

RawValue

Implementation of a IRawValue.

StorageDriverClaim

Driver-specific data identifying a single payload in an external storage system.

StorageDriverRetrieveContext

Context given to RetrieveAsync(StorageDriverRetrieveContext, IReadOnlyCollection<StorageDriverClaim>, CancellationToken).

StorageDriverSelectContext

Context given to a StorageDriverSelector.

StorageDriverStoreContext

Context given to StoreAsync(StorageDriverStoreContext, IReadOnlyCollection<Payload>, CancellationToken).

TemporalTransferTypeConverterAttribute

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

Interfaces

IEncodedRawValue

Representation of a raw value that is still encoded and not converted.

IEncodingConverter

Representation of a payload converter for a specific encoding.

IFailureConverter

Representation of a failure converter to convert exceptions to/from Temporal failures.

IPayloadCodec

Payload codec for translating bytes to bytes.

IPayloadConverter

Representation of a converter from a value to/from a payload.

IRawValue

Representation of a raw value that is already decoded but not converted.

ISerializationContext

Base interface for all serialization contexts that can be passed in to WithSerializationContext(ISerializationContext). The implementations used by the SDK are ISerializationContext.Activity, ISerializationContext.Workflow, and ISerializationContext.Nexus.

ISerializationContext.IHasWorkflow

Base interface for serialization contexts that have workflow information.

IStorageDriver

Driver that stores and retrieves payloads in an external storage system.

IStorageDriverTargetInfo

The Temporal execution a payload is being stored on behalf of, made available to StoreAsync(StorageDriverStoreContext, IReadOnlyCollection<Payload>, CancellationToken) so drivers can organize storage by execution. The implementations used by the SDK are IStorageDriverTargetInfo.Workflow and IStorageDriverTargetInfo.Activity.

ITemporalTransferTypeConverter

Converter for a type marked with TemporalTransferTypeConverterAttribute.

IWithSerializationContext<T>

Interface implemented by converters and codecs that want to be able to create context-specific implementations of themselves for certain workflows or activities.

Delegates

StorageDriverSelector

Chooses which driver stores a payload, or returns null to pass the payload through.