Click or drag to resize

ContainerBeginLifetimeScope Method

Begin a new sub-scope. Instances created via the sub-scope will be disposed along with it.

Namespace:  Autofac.Core
Assembly:  Autofac (in Autofac.dll) Version: 6.0.0+39696a967e8826f7f1ebc8c1ff4523c9dd75abe0
Syntax
public ILifetimeScope BeginLifetimeScope()

Return Value

Type: ILifetimeScope
A new lifetime scope.

Implements

ILifetimeScopeBeginLifetimeScope
See Also