Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="3.6.4-preview-648" />

 TenantDistributor

Represents a tenant distributor that manages tenants in a multitenant environment.

public TenantDistributor(IStashboxContainer rootContainer = null)

Constructs a TenantDistributor.

public void ConfigureTenant(object tenantId, Func<IStashboxContainer, IDisposable> tenantConfig)

public void Dispose()

public IDependencyResolver GetTenant(object tenantId)

public void Validate()