Share via


IActionFilter Interface

Definition

A filter that surrounds execution of the action.

public interface class IActionFilter : Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata
public interface IActionFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IActionFilter = interface
    interface IFilterMetadata
Public Interface IActionFilter
Implements IFilterMetadata
Derived
Implements

Methods

OnActionExecuted(ActionExecutedContext)

Called after the action executes, before the action result.

OnActionExecuting(ActionExecutingContext)

Called before the action executes, after model binding is complete.

Applies to