C# Class 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>
Inheritance: IHttpModule
Afficher le fichier Open project: turquoiseowl/i18n

Méthodes publiques

Méthode Description
Dispose ( ) : void
Init ( System application ) : void
LocalizingModule ( ) : System
LocalizingModule ( IRootServices rootServices ) : System

Private Methods

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

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Init() public méthode

public Init ( System application ) : void
application System
Résultat void

LocalizingModule() public méthode

public LocalizingModule ( ) : System
Résultat System

LocalizingModule() public méthode

public LocalizingModule ( IRootServices rootServices ) : System
rootServices IRootServices
Résultat System