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
'Usage
Dim instance As New ActionSelector(AddressOf HandlerMethod)
public delegate bool ActionSelector(
    ControllerContext controllerContext
)
public delegate bool ActionSelector(
    ControllerContext^ controllerContext
)
type ActionSelector = 
    delegate of  
        controllerContext:ControllerContext -> bool
JScript supports the use of delegates, but not the declaration of new ones.

Parameters

Return Value

Type: System.Boolean
true if an action method was successfully selected; otherwise, false.

See Also

Reference

System.Web.Mvc Namespace