ActionSelector 委托

定义

表示一个委托,该委托包含用于选择操作方法的逻辑。

public delegate bool ActionSelector(ControllerContext controllerContext);
type ActionSelector = delegate of ControllerContext -> bool
Public Delegate Function ActionSelector(controllerContext As ControllerContext) As Boolean 

参数

controllerContext
ControllerContext

返回值

适用于