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

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
AbstractActionFilter ( ) : System

Initializes a new instance of the AbstractActionFilter class.

Method Details

AbstractActionFilter() protected méthode

Initializes a new instance of the AbstractActionFilter class.
protected AbstractActionFilter ( ) : System
Résultat System

ExecuteActionFilterAsync() public méthode

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.
Résultat Task

OnActionExecuted() public méthode

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.
Résultat void

OnActionExecuting() public méthode

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