Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="4.2.0-preview-690" />

 ITenantDistributor

Represents a tenant distributor that manages tenants in a multi-tenant environment.
using System; namespace Stashbox.Multitenant { public interface ITenantDistributor : IAsyncDisposable, IDisposable { IStashboxContainer RootContainer { get; } void ConfigureTenant(object tenantId, Func<IStashboxContainer, IDisposable> tenantConfig); IDependencyResolver GetTenant(object tenantId); void Validate(); } }