C# Class GSoft.Dynamite.ServiceLocator.RequestLifetimeHttpModule

Autofac-related HttpModule that takes care of disposing per-request lifetimes at the end of each HTTP request.
Inheritance: IHttpModule
Show file Open project: GSoft-SharePoint/Dynamite-2010

Public Methods

Method Description
AddRequestLifetimeScopeProvider ( string uniqueContainerKey, SPRequestLifetimeScopeProvider requestLifetimeScopeProvider ) : void
Dispose ( ) : void

Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.

Init ( System.Web.HttpApplication context ) : void

Initializes a module and prepares it to handle requests.

Private Methods

Method Description
OnEndRequest ( object sender, EventArgs e ) : void

Method Details

AddRequestLifetimeScopeProvider() public static method

public static AddRequestLifetimeScopeProvider ( string uniqueContainerKey, SPRequestLifetimeScopeProvider requestLifetimeScopeProvider ) : void
uniqueContainerKey string
requestLifetimeScopeProvider SPRequestLifetimeScopeProvider
return void

Dispose() public method

Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.
public Dispose ( ) : void
return void

Init() public method

Initializes a module and prepares it to handle requests.
public Init ( System.Web.HttpApplication context ) : void
context System.Web.HttpApplication An that provides access to the /// methods, properties, and events common to all application objects within an ASP.NET application
return void