Click or drag to resize

ILifetimeScopeProvider Interface

Implementors are able to control the creation of nested lifetime scopes.

Namespace:  Autofac.Integration.Mvc
Assembly:  Autofac.Integration.Mvc (in Autofac.Integration.Mvc.dll) Version: 6.0.0+106fe194fc419c09f32d39119967f68798cc6895
Syntax
public interface ILifetimeScopeProvider

The ILifetimeScopeProvider type exposes the following members.

Properties
  NameDescription
Public propertyApplicationContainer
Gets the global, application-wide container.
Top
Methods
  NameDescription
Public methodEndLifetimeScope
Ends the current lifetime scope.
Public methodGetLifetimeScope
Gets a nested lifetime scope that services can be resolved from.
Top
See Also