Click or drag to resize

MultitenantContainerBeginLifetimeScope Method

Begin a new nested scope for the current tenant. Component instances created via the new scope will be disposed along with it.

Namespace:  Autofac.Multitenant
Assembly:  Autofac.Multitenant (in Autofac.Multitenant.dll) Version: 6.0.0+9a36082eb9b91dac82616d9efefa940b8c375948
Syntax
public ILifetimeScope BeginLifetimeScope()

Return Value

Type: ILifetimeScope
A new lifetime scope.

Implements

ILifetimeScopeBeginLifetimeScope
See Also