ReflectedActionDescriptor(MethodInfo, String, ControllerDescriptor) Konstruktor
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Inicjuje nowe wystąpienie klasy 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)
Parametry
- methodInfo
- MethodInfo
Informacje o metodzie akcji.
- actionName
- String
Nazwa akcji.
- controllerDescriptor
- ControllerDescriptor
Deskryptor kontrolera.
Wyjątki
methodInfo
Parametr or controllerDescriptor
ma wartość null.
Parametr actionName
ma wartość null lub jest pusty.