Partager via


ControllerActionInvoker Class

Represents a class that is responsible for invoking the action methods of a controller.

Inheritance Hierarchy

System.Object
  System.Web.Mvc.ControllerActionInvoker
    System.Web.Mvc.Async.AsyncControllerActionInvoker

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public Class ControllerActionInvoker _
    Implements IActionInvoker
public class ControllerActionInvoker : IActionInvoker
public ref class ControllerActionInvoker : IActionInvoker

The ControllerActionInvoker type exposes the following members.

Constructors

  Name Description
Public method ControllerActionInvoker Initializes a new instance of the ControllerActionInvoker class.

Top

Properties

  Name Description
Protected property Binders Gets or sets the model binders that are associated with the action.

Top

Methods

  Name Description
Protected method CreateActionResult Creates the action result.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Protected method FindAction Finds the information about the action method.
Protected method GetControllerDescriptor Retrieves information about the controller by using the specified controller context.
Protected method GetFilters Retrieves information about the action filters.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetParameterValue Gets the value of the specified action-method parameter.
Protected method GetParameterValues Gets the values of the action-method parameters.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InvokeAction Invokes the specified action by using the specified controller context.
Protected method InvokeActionMethod Invokes the specified action method by using the specified parameters and the controller context.
Protected method InvokeActionMethodWithFilters Invokes the specified action method by using the specified parameters, controller context, and action filters.
Protected method InvokeActionResult Invokes the specified action result by using the specified controller context.
Protected method InvokeActionResultWithFilters Invokes the specified action result by using the specified action filters and the controller context.
Protected method InvokeAuthorizationFilters Invokes the specified authorization filters by using the specified action descriptor and controller context.
Protected method InvokeExceptionFilters Invokes the specified exception filters by using the specified exception and controller context.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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

System.Web.Mvc Namespace

Other Resources

Understanding the MVC Application Execution Process