C# Class Zen.Core.MVC4.Web.RequestLifetimeHttpModule

An IHttpModule and ILifetimeScopeProvider implementation that creates a nested lifetime scope for each HTTP request.
Inheritance: IHttpModule
Mostrar archivo Open project: holinov/Zen.Core Class Usage Examples

Private Properties

Property Type Description
OnEndRequest void

Public Methods

Method Description
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.

SetLifetimeScopeProvider ( ILifetimeScopeProvider lifetimeScopeProvider ) : void

Private Methods

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

Method Details

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.
/// Thrown if is . ///
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

SetLifetimeScopeProvider() public static method

public static SetLifetimeScopeProvider ( ILifetimeScopeProvider lifetimeScopeProvider ) : void
lifetimeScopeProvider ILifetimeScopeProvider
return void