Delen via


MvcFilter Class

Definition

When implemented in a derived class, provides a metadata class that contains a reference to the implementation of one or more of the filter interfaces, the filter's order, and the filter's scope.

public abstract class MvcFilter : System.Web.Mvc.IMvcFilter
type MvcFilter = class
    interface IMvcFilter
Public MustInherit Class MvcFilter
Implements IMvcFilter
Inheritance
MvcFilter
Implements

Constructors

MvcFilter()

Initializes a new instance of the MvcFilter class.

MvcFilter(Boolean, Int32)

Initializes a new instance of the MvcFilter class and specifies the order of filters and whether multiple filters are allowed.

Properties

AllowMultiple

Gets a value that indicates whether more than one instance of the filter attribute can be specified.

Order

Gets a value that indicates the order in which a filter is applied.

Applies to