.NET Framework Class Library
ControllerInstanceFilterProvider Class
Adds the controller to the FilterProviderCollection instance.
Inheritance Hierarchy
System.Object
System.Web.Mvc.ControllerInstanceFilterProvider
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
Visual Basic (Declaration)
Public Class ControllerInstanceFilterProvider _ Implements IFilterProvider
Visual Basic (Usage)
Dim instance As ControllerInstanceFilterProvider
C#
public class ControllerInstanceFilterProvider : IFilterProvider
Visual C++
public ref class ControllerInstanceFilterProvider : IFilterProvider
JScript
public class ControllerInstanceFilterProvider implements IFilterProvider
The ControllerInstanceFilterProvider type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
ControllerInstanceFilterProvider | Initializes a new instance of the ControllerInstanceFilterProvider class. |
Methods
| Name | Description | |
|---|---|---|
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetFilters | Returns the collection of controller instance filters. |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
MemberwiseClone | (Inherited from Object.) |
|
ToString | (Inherited from Object.) |
Remarks
The controller class is a filter; it implements all the filter interfaces. A controller instance is a filter for itself.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.See Also