Partager via


FilterAttributeFilterProvider Class

Defines a filter provider for filter attributes.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.FilterAttributeFilterProvider

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

Syntax

'Declaration
Public Class FilterAttributeFilterProvider _
    Implements IFilterProvider
'Usage
Dim instance As FilterAttributeFilterProvider
public class FilterAttributeFilterProvider : IFilterProvider
public ref class FilterAttributeFilterProvider : IFilterProvider
public class FilterAttributeFilterProvider implements IFilterProvider

The FilterAttributeFilterProvider type exposes the following members.

Constructors

  Name Description
Public method FilterAttributeFilterProvider() Initializes a new instance of the FilterAttributeFilterProvider class.
Public method FilterAttributeFilterProvider(Boolean) Initializes a new instance of the FilterAttributeFilterProvider class and optionally caches attribute instances.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Protected method GetActionAttributes Gets a collection of custom action attributes.
Protected method GetControllerAttributes Gets a collection of controller attributes.
Public method GetFilters Aggregates the filters from all of the filter providers into one collection.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

System.Web.Mvc Namespace