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: 4.0.2-CI-242
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