FilterProviders Class

 

Provides a registration point for filters.

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

Inheritance Hierarchy

System.Object
  System.Web.Mvc.FilterProviders

Syntax

public static class FilterProviders
public ref class FilterProviders abstract sealed 
[<AbstractClass>]
[<Sealed>]
type FilterProviders = class end
Public NotInheritable Class FilterProviders

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static Providers

Provides a registration point for filters.

Remarks

Multiple FilterProviders instances can be registered.

System_CAPS_noteNote

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

System.Web.Mvc Namespace

Return to top