Docs
Tenantry ProAPI reference

IProBuilder interface

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

The builder UsePro passes to its configuration callback, without the tenant key type. A feature that takes a type parameter of its own, such as a DbContext type, can register through IProBuilder.Add, so its callers never repeat the key type.

public interface IProBuilder

Properties

Services

Gets the application's service collection.

IServiceCollection Services { get; }

Value: IServiceCollection

Methods

Add(IProRegistration)

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

void Add(IProRegistration registration)

Parameters:

On this page