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: 6.0.0+0b24e3a20aaeba340141e7205a9b7643b9d6cc54
Syntax
public interface IContainerProvider

The IContainerProvider type exposes the following members.

Properties
  NameDescription
Public propertyApplicationContainer
Gets the global, application-wide container.
Public propertyRequestLifetime
Gets 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