Click or drag to resize

IContainerProvider Interface

Provides global and per-request Autofac containers in an ASP.NET application.

Namespace:  Autofac.Integration.Web
Assembly:  Autofac.Integration.Web (in Autofac.Integration.Web.dll) Version: 4.0.0-CI-218
Syntax
public interface IContainerProvider

The IContainerProvider type exposes the following members.

Properties
  NameDescription
Public propertyApplicationContainer
The global, application-wide container.
Public propertyRequestLifetime
The lifetime used to manage components for processing the current request.
Top
Methods
  NameDescription
Public methodEndRequestLifetime
Dispose of the current request's container, if it has been instantiated.
Top
See Also