C# Class Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule

Inheritance: IHttpModule
Afficher le fichier Open project: castleproject/Windsor Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
Init ( System.Web.HttpApplication context ) : void

Méthodes protégées

Méthode Description
Application_EndRequest ( Object sender, EventArgs e ) : void

Private Methods

Méthode Description
EnsureInitialized ( ) : void
GetScope ( ) : ILifetimeScope
GetScope ( HttpContext context, bool createIfNotPresent ) : ILifetimeScope
YieldScope ( ) : ILifetimeScope

Returns current request's scope and detaches it from the request context. Does not throw if scope or context not present. To be used for disposing of the context.

Method Details

Application_EndRequest() protected méthode

protected Application_EndRequest ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Init() public méthode

public Init ( System.Web.HttpApplication context ) : void
context System.Web.HttpApplication
Résultat void