IViewPageActivator.Create(ControllerContext, Type) メソッド

定義

依存関係の挿入を使用してビュー ページをどのように作成するかを詳細に制御できます。

public object Create (System.Web.Mvc.ControllerContext controllerContext, Type type);
abstract member Create : System.Web.Mvc.ControllerContext * Type -> obj
Public Function Create (controllerContext As ControllerContext, type As Type) As Object

パラメーター

controllerContext
ControllerContext

コントローラー コンテキスト。

type
Type

コントローラーの種類。

戻り値

作成されたビュー ページ。

適用対象