C# Класс 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.
Наследование: IHttpModule
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
FindMatchAndReplace bool
GetHostNameAndPath string
GetPath string
GetPathWithoutAppPath string
OnBeginRequest void
SaveOriginalPath void

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

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

Защищенные методы

Метод Описание
GetSourcePath ( ) : string

Gets the source path.

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

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

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

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

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

GetSourcePath() защищенный статический Метод

Gets the source path.
protected static GetSourcePath ( ) : string
Результат string

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