ActionSelector Delegate
Represents a delegate that contains the logic for selecting an action method.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
Public Delegate Function ActionSelector ( _
controllerContext As ControllerContext _
) As Boolean
public delegate bool ActionSelector(
ControllerContext controllerContext
)
public delegate bool ActionSelector(
ControllerContext^ controllerContext
)
Parameters
- controllerContext
Type: System.Web.Mvc.ControllerContext
The current HTTP request context.
Return Value
Type: System.Boolean
true if an action method was successfully selected; otherwise, false.