Share via


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 class IPageFilter : Microsoft::AspNetCore::Mvc::Filters::IFilterMetadata
public interface IPageFilter : Microsoft.AspNetCore.Mvc.Filters.IFilterMetadata
type IPageFilter = interface
    interface IFilterMetadata
Public Interface IPageFilter
Implements IFilterMetadata
Derived
Implements

Methods

OnPageHandlerExecuted(PageHandlerExecutedContext)

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

OnPageHandlerExecuting(PageHandlerExecutingContext)

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

OnPageHandlerSelected(PageHandlerSelectedContext)

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

Applies to