C# Class Ninject.Web.WebApi.Filter.AbstractActionFilter

An abstract action filter implementation to simplify action filter implementations.
Inheritance: IActionFilter
Mostrar archivo Open project: ninject/Ninject.Web.WebApi Class Usage Examples

Public Methods

Method Description
ExecuteActionFilterAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken, Func continuation ) : Task

Executes the action filter asyncronously.

OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void

Called when the action is executed.

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

Called before the action is executing.

Protected Methods

Method Description
AbstractActionFilter ( ) : System

Initializes a new instance of the AbstractActionFilter class.

Method Details

AbstractActionFilter() protected method

Initializes a new instance of the AbstractActionFilter class.
protected AbstractActionFilter ( ) : System
return System

ExecuteActionFilterAsync() public method

Executes the action filter asyncronously.
public ExecuteActionFilterAsync ( System.Web.Http.Controllers.HttpActionContext actionContext, CancellationToken cancellationToken, Func continuation ) : Task
actionContext System.Web.Http.Controllers.HttpActionContext The action context.
cancellationToken System.Threading.CancellationToken The cancellation token.
continuation Func The continuation.
return Task

OnActionExecuted() public method

Called when the action is executed.
public OnActionExecuted ( System.Web.Http.Filters.HttpActionExecutedContext actionExecutedContext ) : void
actionExecutedContext System.Web.Http.Filters.HttpActionExecutedContext The action executed context.
return void

OnActionExecuting() public method

Called before the action is executing.
public OnActionExecuting ( System.Web.Http.Controllers.HttpActionContext actionContext ) : void
actionContext System.Web.Http.Controllers.HttpActionContext The action context.
return void