C# Class Ve.Metrics.StatsDClient.WebApi.StatsDActionFilter

Inheritance: System.Web.Http.Filters.ActionFilterAttribute
Show file Open project: ve-interactive/ve-metrics-statsdclient-csharp

Public Methods

Method Description
OnActionExecutedAsync ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken ) : Task
OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
StatsDActionFilter ( IStatsdConfig config ) : System.Collections.Generic
StatsDActionFilter ( IVeStatsDClient client ) : System.Collections.Generic

Private Methods

Method Description
GetRouteData ( System.Web.Http.Controllers.HttpActionContext actionContext, bool hasException = false ) : string>.Dictionary
GetStatusCode ( System.Web.Http.Controllers.HttpActionContext actionExecutedContext ) : int

Method Details

OnActionExecutedAsync() public method

public OnActionExecutedAsync ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext, CancellationToken cancellationToken ) : Task
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext
cancellationToken System.Threading.CancellationToken
return Task

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext
return void

StatsDActionFilter() public method

public StatsDActionFilter ( IStatsdConfig config ) : System.Collections.Generic
config IStatsdConfig
return System.Collections.Generic

StatsDActionFilter() public method

public StatsDActionFilter ( IVeStatsDClient client ) : System.Collections.Generic
client IVeStatsDClient
return System.Collections.Generic