Docs
Tenantry ProAPI reference

IProRegistration interface

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

A registration that needs the tenant key type, added through IProBuilder.Add. Packages use it for builder methods that take a type parameter of their own, such as a DbContext type.

public interface IProRegistration

Methods

Apply<TKey>(IProBuilder<TKey>)

Registers the feature's services for the tenant key type TKey.

void Apply<TKey>(IProBuilder<TKey> pro) where TKey : IEquatable<TKey>, IParsable<TKey>

Type parameters:

  • TKey: The tenant key type of the builder.

Parameters:

On this page