FilterProviders Class (System.Web.Mvc)

Switch View :
ScriptFree
.NET Framework Class Library
FilterProviders Class

Provides a registration point for filters.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.FilterProviders

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

Visual Basic (Declaration)
Public NotInheritable Class FilterProviders
Visual Basic (Usage)
You do not need to declare an instance of a static class in order to access its members.
C#
public static class FilterProviders
Visual C++
public ref class FilterProviders abstract sealed
JScript
public final class FilterProviders

The FilterProviders type exposes the following members.

Properties

  Name Description
Public property Static member Providers Provides a registration point for filters.
Top
Remarks

Multiple FilterProviders instances can be registered.

Note Note:

In ASP.NET MVC versions 1 and 2, the only way to apply filters was to make a FilterAttribute attribute and apply that attribute to a controller or action method.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also

Reference

Other Resources