Table of Contents

Interface IClientConfigExtension

Namespace
Temporalio.Common.EnvConfig
Assembly
Temporalio.dll

Extension that adds its own config to client environment configuration and applies it to the client through a plugin. An extension's TOML config lives in the profile.{profile}.ext.{name} table, and any environment variables it reads are recommended to use a TEMPORAL_EXT_{NAME}_ prefix.

public interface IClientConfigExtension

Remarks

Extensions are passed via Extensions to LoadClientConnectOptions(ProfileLoadOptions?).

WARNING: This API is experimental and may change in the future.

Properties

Name

Gets the extension's table key under profile.{profile}.ext. Must be unique among loaded extensions.

string Name { get; }

Property Value

string

Methods

CreateClientPlugin(ClientConfigExtensionContext)

Read this extension's config from the profile and env, and create a plugin that applies it to the client.

ITemporalClientPlugin? CreateClientPlugin(ClientConfigExtensionContext context)

Parameters

context ClientConfigExtensionContext

The loaded profile and env.

Returns

ITemporalClientPlugin

The plugin, or null if there's nothing to apply.