C# Класс Castle.MicroKernel.Lifestyle.PerWebRequestLifestyleModule

Наследование: IHttpModule
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Dispose ( ) : void
Init ( System.Web.HttpApplication context ) : void

Защищенные методы

Метод Описание
Application_EndRequest ( Object sender, EventArgs e ) : void

Приватные методы

Метод Описание
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.

Описание методов

Application_EndRequest() защищенный Метод

protected Application_EndRequest ( Object sender, EventArgs e ) : void
sender Object
e System.EventArgs
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Init() публичный Метод

public Init ( System.Web.HttpApplication context ) : void
context System.Web.HttpApplication
Результат void