Table of Contents

Interface IFilterProvider

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

Provides an interface for finding filters.

public interface IFilterProvider

Methods

GetFilters(ControllerContext, ActionDescriptor)

Returns an enumerator that contains all the IFilterProvider instances in the service locator.

IEnumerable<Filter> GetFilters(ControllerContext controllerContext, ActionDescriptor actionDescriptor)

Parameters

controllerContext ControllerContext

The controller context.

actionDescriptor ActionDescriptor

The action descriptor.

Returns

IEnumerable<Filter>

The enumerator that contains all the IFilterProvider instances in the service locator.