IPageFilter IPageFilter IPageFilter Interface

Definition

A filter that surrounds execution of a page handler method. This filter is executed only when decorated on a handler's type and not on individual handler methods.

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

Methods

OnPageHandlerExecuted(PageHandlerExecutedContext) OnPageHandlerExecuted(PageHandlerExecutedContext) OnPageHandlerExecuted(PageHandlerExecutedContext)

Called after the handler method executes, before the action result executes.

OnPageHandlerExecuting(PageHandlerExecutingContext) OnPageHandlerExecuting(PageHandlerExecutingContext) OnPageHandlerExecuting(PageHandlerExecutingContext)

Called before the handler method executes, after model binding is complete.

OnPageHandlerSelected(PageHandlerSelectedContext) OnPageHandlerSelected(PageHandlerSelectedContext) OnPageHandlerSelected(PageHandlerSelectedContext)

Called after a handler method has been selected, but before model binding occurs.

Applies to