Language

ControllerBase クラス

定義

すべての MVC コントローラーの基本クラスを表します。

public abstract class ControllerBase : System.Web.Mvc.IController
type ControllerBase = class
    interface IController
Public MustInherit Class ControllerBase
Implements IController
継承
ControllerBase
派生
実装

コンストラクター

Name 説明
ControllerBase()

ControllerBase クラスの新しいインスタンスを初期化します。

プロパティ

Name 説明
ControllerContext

コントローラー コンテキストを取得または設定します。

TempData

一時データのディクショナリを取得または設定します。

ValidateRequest

この要求の検証が有効かどうかを示す値を取得または設定します。

ValueProvider

コントローラーの値プロバイダーを取得または設定します。

ViewBag

動的なビュー データ ディクショナリを取得します。

ViewData

ビュー データのディクショナリを取得または設定します。

メソッド

Name 説明
Execute(RequestContext)

指定された要求コンテキストを実行します。

ExecuteCore()

要求を実行します。

Initialize(RequestContext)

指定された要求コンテキストを初期化します。

明示的なインターフェイスの実装

Name 説明
IController.Execute(RequestContext)

指定された要求コンテキストを実行します。

適用対象