Partager via


IFilterProvider Interface

Provides an interface for finding filters.

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

Syntax

'Declaration
Public Interface IFilterProvider
'Usage
Dim instance As IFilterProvider
public interface IFilterProvider
public interface class IFilterProvider
public interface IFilterProvider

The IFilterProvider type exposes the following members.

Methods

  Name Description
Public method GetFilters Returns an enumerator that contains all the IFilterProvider instances in the service locator.

Top

Remarks

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

See Also

Reference

System.Web.Mvc Namespace

Other Resources

Filtering in ASP.NET MVC