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
Show file Open project: nats/castle-1.0.3-mono

Private Properties

Property Type Description
FindMatchAndReplace bool
GetHostNameAndPath string
GetPath string
GetPathWithoutAppPath string
OnBeginRequest void
SaveOriginalPath void

Public Methods

Method 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.

Protected Methods

Method Description
GetSourcePath ( ) : string

Gets the source path.

Private Methods

Method 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 method

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

GetSourcePath() protected static method

Gets the source path.
protected static GetSourcePath ( ) : string
return string

Init() public method

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
return void