C# 클래스 BlueCollar.Dashboard.DashboardHandlerFactory

Implements IHttpHandlerFactory for the dashboard.
상속: IHttpHandlerFactory
파일 보기 프로젝트 열기: ChadBurggraf/blue-collar

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