GlobalFilterCollection.Add Method
Adds a filter to the global filter collection.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | Add(Object) | Adds the specified filter to the global filter collection. |
![]() | Add(Object, Int32) | Adds the specified filter to the global filter collection using the specified filter run order. |
GlobalFilterCollection.Add Method (Object)
Adds the specified filter to the global filter collection.
Parameters
- filter
-
Type:
System.Object
The filter.
GlobalFilterCollection.Add Method (Object, Int32)
Adds the specified filter to the global filter collection using the specified filter run order.
Show:
