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

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

Private Properties

Свойство Type Description
OnEndRequest void

Méthodes publiques

Méthode 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

Méthode Description
OnEndRequest ( object sender, EventArgs e ) : void

Method Details

Dispose() public méthode

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

Init() public méthode

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
Résultat void

SetLifetimeScopeProvider() public static méthode

public static SetLifetimeScopeProvider ( ILifetimeScopeProvider lifetimeScopeProvider ) : void
lifetimeScopeProvider ILifetimeScopeProvider
Résultat void