ControllerBase 클래스

정의

모든 MVC 컨트롤러에 대한 기본 클래스를 나타냅니다.

public abstract class ControllerBase : System.Web.Mvc.IController
type ControllerBase = class
    interface IController
Public MustInherit Class ControllerBase
Implements IController
상속
ControllerBase
파생
구현

생성자

ControllerBase()

ControllerBase 클래스의 새 인스턴스를 초기화합니다.

속성

ControllerContext

컨트롤러 컨텍스트를 가져오거나 설정합니다.

TempData

임시 데이터 사전을 가져오거나 설정합니다.

ValidateRequest

이 요청에 대해 요청 유효성 검사가 수행되는지를 나타내는 값을 가져오거나 설정합니다.

ValueProvider

컨트롤러에 대한 값 공급자를 가져오거나 설정합니다.

ViewBag

동적 뷰 데이터 사전을 가져옵니다.

ViewData

뷰 데이터 사전을 가져오거나 설정합니다.

메서드

Execute(RequestContext)

지정된 요청 컨텍스트를 실행합니다.

ExecuteCore()

요청을 실행합니다.

Initialize(RequestContext)

지정된 요청 컨텍스트를 초기화합니다.

명시적 인터페이스 구현

IController.Execute(RequestContext)

지정된 요청 컨텍스트를 실행합니다.

적용 대상