C# Class Castle.MonoRail.Framework.RoutingModule

Provides routing basic services in response to rules defined in MonoRailConfiguration.RoutingRules. This class delegates the resolving of the path that will be evaluated to derivided classes.
Inheritance: IHttpModule
Afficher le fichier Open project: nats/castle-1.0.3-mono

Private Properties

Свойство Type Description
FindMatchAndReplace bool
GetHostNameAndPath string
GetPath string
GetPathWithoutAppPath string
OnBeginRequest void
SaveOriginalPath void

Méthodes publiques

Méthode Description
Dispose ( ) : void

Disposes of the resources (other than memory) used by the module that implements .

Init ( System.Web.HttpApplication context ) : void

Initializes a module and prepares it to handle requests.

Méthodes protégées

Méthode Description
GetSourcePath ( ) : string

Gets the source path.

Private Methods

Méthode Description
FindMatchAndReplace ( String currentPath, String &newPath ) : bool
GetHostNameAndPath ( ) : string
GetPath ( ) : string
GetPathWithoutAppPath ( ) : string
OnBeginRequest ( object sender, EventArgs e ) : void

Called when [begin request].

SaveOriginalPath ( HttpContext context, String virtualPath ) : void

Method Details

Dispose() public méthode

Disposes of the resources (other than memory) used by the module that implements .
public Dispose ( ) : void
Résultat void

GetSourcePath() protected static méthode

Gets the source path.
protected static GetSourcePath ( ) : string
Résultat string

Init() public méthode

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
Résultat void