Interface IActionInvoker
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
ControllerContextThe controller context.
actionName
stringThe name of the action.
Returns
- bool
true if the action was found; otherwise, false.