C# Class Blog.Common.Web.Attributes.ApiRequestLoggerAttribute

Inheritance: System.Web.Http.Filters.ActionFilterAttribute
Afficher le fichier Open project: jsnmgpnty/Blogness2.0

Méthodes publiques

Méthode Description
OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void

Private Methods

Méthode Description
GetActionRoute ( System.Web.Http.Controllers.HttpControllerContext controllerContext ) : string
GetLogMessage ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, long duration ) : string

Method Details

OnActionExecuted() public méthode

public OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
Résultat void

OnActionExecuting() public méthode

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
Résultat void