C# Class Elmah.ErrorLogPageFactory

HTTP handler factory that dispenses handlers for rendering views and resources needed to display the error log.
Inheritance: IHttpHandlerFactory
Afficher le fichier Open project: clearwavebuild/elmah Class Usage Examples

Méthodes publiques

Méthode Description
GetHandler ( System.Web.HttpContextBase context, string requestType, string url, string pathTranslated ) : IHttpHandler

Returns an object that implements the IHttpHandler interface and which is responsible for serving the request.

ReleaseHandler ( IHttpHandler handler ) : void

Enables the factory to reuse an existing handler instance.

Private Methods

Méthode Description
FindHandler ( string name ) : IHttpHandler
GetAuthorizationHandlers ( System.Web.HttpContextBase context ) : IEnumerable
GetRequestUrl ( System.Web.HttpContextBase context ) : Uri
IHttpHandlerFactory ( HttpContext context, string requestType, string url, string pathTranslated ) : IHttpHandler
IsAuthorized ( System.Web.HttpContextBase context ) : bool?

Determines if the request is authorized by objects implementing IRequestAuthorizationHandler.

Method Details

GetHandler() public méthode

Returns an object that implements the IHttpHandler interface and which is responsible for serving the request.
public GetHandler ( System.Web.HttpContextBase context, string requestType, string url, string pathTranslated ) : IHttpHandler
context System.Web.HttpContextBase
requestType string
url string
pathTranslated string
Résultat IHttpHandler

ReleaseHandler() public méthode

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