Delen via


FilterAttributeFilterProvider Class

Definition

Defines a filter provider for filter attributes.

public class FilterAttributeFilterProvider : System.Web.Mvc.IFilterProvider
type FilterAttributeFilterProvider = class
    interface IFilterProvider
Public Class FilterAttributeFilterProvider
Implements IFilterProvider
Inheritance
FilterAttributeFilterProvider
Implements

Constructors

FilterAttributeFilterProvider()

Initializes a new instance of the FilterAttributeFilterProvider class.

FilterAttributeFilterProvider(Boolean)

Initializes a new instance of the FilterAttributeFilterProvider class and optionally caches attribute instances.

Methods

GetActionAttributes(ControllerContext, ActionDescriptor)

Gets a collection of custom action attributes.

GetControllerAttributes(ControllerContext, ActionDescriptor)

Gets a collection of controller attributes.

GetFilters(ControllerContext, ActionDescriptor)

Aggregates the filters from all of the filter providers into one collection.

Applies to