Interface ITenantOptions<TOptions>
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
TOptionsThe 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).