Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IFilterProvider Interface

Provides an interface for finding filters.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public interface IFilterProvider

The IFilterProvider type exposes the following members.

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

Global action filters can be registered manually or by using Dependency Injection.

© 2016 Microsoft