DefaultControllerFactory.GetControllerType(RequestContext, String) メソッド

定義

指定した名前および要求コンテキストのコントローラーの種類を取得します。

protected internal virtual Type GetControllerType (System.Web.Routing.RequestContext requestContext, string controllerName);
abstract member GetControllerType : System.Web.Routing.RequestContext * string -> Type
override this.GetControllerType : System.Web.Routing.RequestContext * string -> Type
Protected Friend Overridable Function GetControllerType (requestContext As RequestContext, controllerName As String) As Type

パラメーター

requestContext
RequestContext

HTTP コンテンツ、ルート データなどを含む HTTP 要求のコンテキスト。

controllerName
String

コントローラーの名前。

戻り値

コントローラーの種類。

適用対象