ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) 构造函数

定义

初始化 ReflectedActionDescriptor 类的新实例。

public ReflectedActionDescriptor (System.Reflection.MethodInfo methodInfo, string actionName, System.Web.Mvc.ControllerDescriptor controllerDescriptor);
new System.Web.Mvc.ReflectedActionDescriptor : System.Reflection.MethodInfo * string * System.Web.Mvc.ControllerDescriptor -> System.Web.Mvc.ReflectedActionDescriptor
Public Sub New (methodInfo As MethodInfo, actionName As String, controllerDescriptor As ControllerDescriptor)

参数

methodInfo
MethodInfo

操作方法信息。

actionName
String

操作的名称。

controllerDescriptor
ControllerDescriptor

控制器描述符。

例外

methodInfocontrollerDescriptor 参数为 null。

参数 actionName 为 null 或空。

适用于