C# Class BlueCollar.Dashboard.DashboardHandlerFactory

Implements IHttpHandlerFactory for the dashboard.
Inheritance: IHttpHandlerFactory
Afficher le fichier Open project: ChadBurggraf/blue-collar

Private Properties

Свойство Type Description
CombineUrlPaths string
DashboardHandlerFactory System
GetHandler IHttpHandler
GetHandlerRelativeUrl string
ResolveHandlerUrl string
ResolveHandlerUrl string
ResolveHandlerUrl string

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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.

Method Details

DashboardHandlerFactory() public méthode

Initializes a new instance of the DashboardHandlerFactory class.
public DashboardHandlerFactory ( ) : System
Résultat System

GetHandler() public méthode

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.
Résultat IHttpHandler

ReleaseHandler() public méthode

Enables a factory to reuse an existing handler instance.
public ReleaseHandler ( IHttpHandler handler ) : void
handler IHttpHandler The object to reuse.
Résultat void