Share 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.

C#
public abstract class MvcFilter : System.Web.Mvc.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

Product Versions
ASP.NET MVC 5.2