C# 클래스 System.ComponentModel.Navigation.Controller

Encapsulates application logic exposed as a set of actions. The controller itself should be stateless. Each action is invoked using a different controller instance.
상속: IController
파일 보기 프로젝트 열기: nikhilk/silverlightfx 1 사용 예제들

보호된 메소드들

메소드 설명
Error ( Exception error ) : ErrorActionResult

Creates an ErrorActionResult that specifies the error that occurred in completing the action.

Redirect ( Type controllerType, string actionName ) : RedirectActionResult

Creates a RedirectActionResult that results in a redirect to the specified controller and action along with any specified parameters.

Redirect ( string actionName ) : RedirectActionResult

Creates a RedirectActionResult that results in a redirect to the specified action.

View ( string viewName ) : ViewActionResult

Creates a ViewActionResult that results in the specified view being created.

비공개 메소드들

메소드 설명
IController ( IAsyncResult asyncResult ) : ActionResult
IController ( ActionInvocation action, AsyncCallback callback, object asyncState ) : IAsyncResult
OnActionCompleted ( object sender, EventArgs e ) : void

메소드 상세

Error() 보호된 메소드

Creates an ErrorActionResult that specifies the error that occurred in completing the action.
protected Error ( Exception error ) : ErrorActionResult
error System.Exception The error that occurred.
리턴 ErrorActionResult

Redirect() 보호된 메소드

Creates a RedirectActionResult that results in a redirect to the specified controller and action along with any specified parameters.
protected Redirect ( Type controllerType, string actionName ) : RedirectActionResult
controllerType System.Type The controller to redirect to.
actionName string The name of the action on the specified controller to redirect to.
리턴 RedirectActionResult

Redirect() 보호된 메소드

Creates a RedirectActionResult that results in a redirect to the specified action.
protected Redirect ( string actionName ) : RedirectActionResult
actionName string The name of the action on this controller to redirect to.
리턴 RedirectActionResult

View() 보호된 메소드

Creates a ViewActionResult that results in the specified view being created.
protected View ( string viewName ) : ViewActionResult
viewName string The name of the view to create.
리턴 ViewActionResult