C# Class Quilt4.Service.ExceptionHandlingAttribute

Inheritance: System.Web.Http.Filters.ExceptionFilterAttribute
Afficher le fichier Open project: Quilt4/Quilt4.Service

Méthodes publiques

Méthode Description
ExceptionHandlingAttribute ( LogLevel>.Action logException ) : System
OnException ( System.Web.Http.Filters.HttpActionExecutedContext context ) : void

Private Methods

Méthode Description
GetLogLevel ( Exception exception ) : LogLevel
GetStatusCode ( Exception exception ) : HttpStatusCode
ToError ( Exception exception ) : Error

Method Details

ExceptionHandlingAttribute() public méthode

public ExceptionHandlingAttribute ( LogLevel>.Action logException ) : System
logException LogLevel>.Action
Résultat System

OnException() public méthode

public OnException ( System.Web.Http.Filters.HttpActionExecutedContext context ) : void
context System.Web.Http.Filters.HttpActionExecutedContext
Résultat void