IResourceFilter Interface

Summary

A filter which surrounds execution of model binding, the action (and filters) and the action result (and filters).

Syntax

public interface IResourceFilter : IFilter

GitHub

View on GitHub

interface Microsoft.AspNet.Mvc.IResourceFilter

Methods

OnResourceExecuted(Microsoft.AspNet.Mvc.ResourceExecutedContext)

Executes the resource filter. Called after execution of the remainder of the pipeline.

Arguments:
void OnResourceExecuted(ResourceExecutedContext context)
OnResourceExecuting(Microsoft.AspNet.Mvc.ResourceExecutingContext)

Executes the resource filter. Called before execution of the remainder of the pipeline.

Arguments:
void OnResourceExecuting(ResourceExecutingContext context)