C# Класс Subtext.Framework.UrlManager.UrlReWriteHandlerFactory

Class responisble for figuring out which Subtext page to load. By default will load an array of Subtext.UrlManager.HttpHandlder from the blog.config file. This contains a list of Regex patterns to match the current request to. It also allows caching of the Regex's and Types.
Наследование: IHttpHandlerFactory
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetHandlerForUrl IHttpHandler
ProcessHandlerTypeDirectory IHttpHandler
ProcessHandlerTypePage IHttpHandler

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

Метод Описание
GetHandler ( HttpContext context, string requestType, string url, string path ) : IHttpHandler

Implementation of IHttpHandlerFactory. By default, it will load an array of HttpHandlers from the blog.config. This can be changed, by overrideing the GetHttpHandlers(HttpContext context) method.

ReleaseHandler ( IHttpHandler handler ) : void

Releases the handler.

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

Метод Описание
GetHttpHandlers ( ) : Subtext.Framework.UrlManager.HttpHandler[]

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

Метод Описание
GetHandlerForUrl ( string url ) : IHttpHandler
ProcessHandlerTypeDirectory ( HttpContext context, string url ) : IHttpHandler
ProcessHandlerTypePage ( HttpHandler item, HttpContext context ) : IHttpHandler

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

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

Implementation of IHttpHandlerFactory. By default, it will load an array of HttpHandlers from the blog.config. This can be changed, by overrideing the GetHttpHandlers(HttpContext context) method.
public GetHandler ( HttpContext context, string requestType, string url, string path ) : IHttpHandler
context System.Web.HttpContext Current HttpContext
requestType string Request Type (Passed along to other IHttpHandlerFactory's)
url string The current requested url. (Passed along to other IHttpHandlerFactory's)
path string The physical path of the current request. Is not guaranteed /// to exist (Passed along to other IHttpHandlerFactory's)
Результат IHttpHandler

GetHttpHandlers() защищенный Метод

protected GetHttpHandlers ( ) : Subtext.Framework.UrlManager.HttpHandler[]
Результат Subtext.Framework.UrlManager.HttpHandler[]

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

Releases the handler.
public ReleaseHandler ( IHttpHandler handler ) : void
handler IHttpHandler Handler.
Результат void