C# Класс GSoft.Dynamite.ServiceLocator.RequestLifetimeHttpModule

Autofac-related HttpModule that takes care of disposing per-request lifetimes at the end of each HTTP request.
Наследование: IHttpModule
Показать файл Открыть проект

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

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

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

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

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

AddRequestLifetimeScopeProvider() публичный статический Метод

public static AddRequestLifetimeScopeProvider ( string uniqueContainerKey, SPRequestLifetimeScopeProvider requestLifetimeScopeProvider ) : void
uniqueContainerKey string
requestLifetimeScopeProvider SPRequestLifetimeScopeProvider
Результат void

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

Disposes of the resources (other than memory) used by the module that implements T:System.Web.IHttpModule.
public Dispose ( ) : void
Результат void

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

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
Результат void