Click or drag to resize

ILifetimeScopeBeginLifetimeScope Method

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

Namespace:  Autofac
Assembly:  Autofac (in Autofac.dll) Version: 4.9.1+831973f4d02fbc619921dfaa8ac0c536f60ae7a3
Syntax
ILifetimeScope BeginLifetimeScope()

Return Value

Type: ILifetimeScope
A new lifetime scope.
See Also