C# Класс i18n.LocalizingModule

HTTP module responsible for: 1. Implementing early URL localization 2. Installing our ResponseFilter into the ASP.NET pipeline.
LocalizingModule can be installed like this: IIS7+ Integrated mode: <system.webServer> <modules> <add name="i18n.LocalizingModule" type="i18n.LocalizingModule, i18n" /> </modules> </system.webServer> IIS7 Classic mode and IIS6: <system.web> <httpModules> <add name="i18n.LocalizingModule" type="i18n.LocalizingModule, i18n" /> <!-- #37 --> </httpModules> </system.web>
Наследование: IHttpModule
Показать файл Открыть проект

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

Метод Описание
Dispose ( ) : void
Init ( System application ) : void
LocalizingModule ( ) : System
LocalizingModule ( IRootServices rootServices ) : System

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

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

Handler for the BeginRequest ASP.NET request pipeline event, where we inject our Early URL Localization logic.

OnPostRequestHandlerExecute ( object sender, EventArgs e ) : void
OnReleaseRequestState ( object sender, EventArgs e ) : void

Handler for the ReleaseRequestState ASP.NET request pipeline event. This event occurs late on in the pipeline but prior to the response being filtered. We take the opportunity to inject our i8n post-processing of the response.

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

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

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

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

public Init ( System application ) : void
application System
Результат void

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

public LocalizingModule ( ) : System
Результат System

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

public LocalizingModule ( IRootServices rootServices ) : System
rootServices IRootServices
Результат System