This topic has not yet been rated - Rate this topic

MvcFilter Class

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.

System.Object
  System.Web.Mvc.MvcFilter

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public abstract class MvcFilter : IMvcFilter

The MvcFilter type exposes the following members.

  Name Description
Protected method MvcFilter() Initializes a new instance of the MvcFilter class.
Protected method MvcFilter(Boolean, Int32) Initializes a new instance of the MvcFilter class and specifies the order of filters and whether multiple filters are allowed.
Top
  Name Description
Public property AllowMultiple Gets a value that indicates whether more than one instance of the filter attribute can be specified.
Public property Order Gets a value that indicates the order in which a filter is applied.
Top
  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
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

For more information about ASP.NET MVC filters, see Filtering in ASP.NET MVC.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)