Table of Contents

Interface IActionInvoker

Namespace
System.Web.Mvc
Assembly
System.Web.Mvc.dll

Defines the contract for an action invoker, which is used to invoke an action in response to an HTTP request.

public interface IActionInvoker

Methods

InvokeAction(ControllerContext, string)

Invokes the specified action by using the specified controller context.

bool InvokeAction(ControllerContext controllerContext, string actionName)

Parameters

controllerContext ControllerContext

The controller context.

actionName string

The name of the action.

Returns

bool

true if the action was found; otherwise, false.