Class MvcFilter
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 : IMvcFilter
- Inheritance
-
MvcFilter
- Implements
- Inherited Members
Constructors
MvcFilter()
Initializes a new instance of the MvcFilter class.
protected MvcFilter()
MvcFilter(bool, int)
Initializes a new instance of the MvcFilter class and specifies the order of filters and whether multiple filters are allowed.
protected MvcFilter(bool allowMultiple, int order)
Parameters
allowMultiple
booltrue to specify that multiple filters of the same type are allowed; otherwise, false.
order
intThe filter order.
Properties
AllowMultiple
Gets a value that indicates whether more than one instance of the filter attribute can be specified.
public bool AllowMultiple { get; }
Property Value
- bool
true if more than one instance of the filter attribute is allowed; otherwise, false.ImplementsAllowMultiple.
Order
Gets a value that indicates the order in which a filter is applied.
public int Order { get; }