IControllerActivator.Create(RequestContext, Type) メソッド

定義

クラスで実装される場合、コントローラーを作成します。

public System.Web.Mvc.IController Create (System.Web.Routing.RequestContext requestContext, Type controllerType);
abstract member Create : System.Web.Routing.RequestContext * Type -> System.Web.Mvc.IController
Public Function Create (requestContext As RequestContext, controllerType As Type) As IController

パラメーター

requestContext
RequestContext

要求コンテキスト。

controllerType
Type

コントローラーの種類。

戻り値

作成されたコントローラー。

適用対象