ControllerInstanceFilterProvider Class (System.Web.Mvc)

Switch View :
ScriptFree
.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
Public method ControllerInstanceFilterProvider Initializes a new instance of the ControllerInstanceFilterProvider class.
Top
Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetFilters Returns the collection of controller instance filters.
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
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

Reference

Other Resources