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
'Declaration
Public Class ControllerInstanceFilterProvider _
Implements IFilterProvider
'Usage
Dim instance As ControllerInstanceFilterProvider
public class ControllerInstanceFilterProvider : IFilterProvider
public ref class ControllerInstanceFilterProvider : IFilterProvider
public class ControllerInstanceFilterProvider implements IFilterProvider
The ControllerInstanceFilterProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ControllerInstanceFilterProvider | Initializes a new instance of the ControllerInstanceFilterProvider class. |
Top
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.) |
Top
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.