C# Класс BlueCollar.Dashboard.DashboardHandlerFactory

Implements IHttpHandlerFactory for the dashboard.
Наследование: IHttpHandlerFactory
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CombineUrlPaths string
DashboardHandlerFactory System
GetHandler IHttpHandler
GetHandlerRelativeUrl string
ResolveHandlerUrl string
ResolveHandlerUrl string
ResolveHandlerUrl string

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

Метод Описание
DashboardHandlerFactory ( ) : System

Initializes a new instance of the DashboardHandlerFactory class.

GetHandler ( HttpContext context, string requestType, string url, string pathTranslated ) : IHttpHandler

Returns an instance of a class that implements the IHttpHandler interface.

ReleaseHandler ( IHttpHandler handler ) : void

Enables a factory to reuse an existing handler instance.

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

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

Combines all of the URL path parts given by normalizing their separating '/'.

DashboardHandlerFactory ( string applicationName, DashboardEnabledMode mode, string handlerUrl, IRepositoryFactory repositoryFactory ) : System
GetHandler ( System.Web.HttpContextBase context, string requestType, string url, string pathTranslated ) : IHttpHandler
GetHandlerRelativeUrl ( string handlerPath, string rawUrl ) : string
ResolveHandlerUrl ( string handlerUrl, System.Web.HttpContextBase httpContext ) : string

Resolves the given handler URL.

ResolveHandlerUrl ( string handlerUrl, System.Web.HttpContextBase httpContext, string configPath ) : string

Resolves the given handler URL.

ResolveHandlerUrl ( string handlerUrl, string baseDirectory, string applicationPath, string configPath ) : string

Resolves the given handler URL.

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

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

Initializes a new instance of the DashboardHandlerFactory class.
public DashboardHandlerFactory ( ) : System
Результат System

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

Returns an instance of a class that implements the IHttpHandler interface.
public GetHandler ( HttpContext context, string requestType, string url, string pathTranslated ) : IHttpHandler
context System.Web.HttpContext An instance of the class that provides references to intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests.
requestType string The HTTP data transfer method (GET or POST) that the client uses.
url string The of the requested resource.
pathTranslated string The to the requested resource.
Результат IHttpHandler

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

Enables a factory to reuse an existing handler instance.
public ReleaseHandler ( IHttpHandler handler ) : void
handler IHttpHandler The object to reuse.
Результат void