Table of Contents

Interface ITenantOptions<TOptions>

Namespace
Excalibur.Dispatch
Assembly
Excalibur.Dispatch.dll

Resolves an options instance for the current ambient tenant. Per-tenant configuration is registered as named options keyed by tenant id (services.Configure<TOptions>(tenantId, …)); this resolves the named instance for the tenant established by TenantContextHolder, falling back to the default (unnamed) options when no tenant is ambient or the tenant has no specific configuration.

public interface ITenantOptions<out TOptions> where TOptions : class

Type Parameters

TOptions

The options type.

Extension Methods

Properties

Value

Gets the options configured for the current ambient tenant.

TOptions Value { get; }

Property Value

TOptions

The tenant's options instance (never null).