Docs
Tenantry CoreAPI reference

ITenantBuilder interface

Namespace: Tenantry · Package: Tenantry.Core · API reference

The builder AddTenantry passes to its configuration callback, without the tenant key type. Features that take a type parameter of their own register through ITenantBuilder.Add, so their callers never repeat the key type.

public interface ITenantBuilder

Properties

Services

Gets the application's service collection.

IServiceCollection Services { get; }

Value: IServiceCollection

Methods

Add(ITenantRegistration)

Applies registration with the tenant key type this builder was created for.

void Add(ITenantRegistration registration)

Parameters:

On this page