C# Class Rebel.Cms.Web.Surface.SurfaceController

Inheritance: Controller, IRequiresRoutableRequestContext
ファイルを表示 Open project: RebelCMS/rebelcmsxu5

Protected Methods

Method Description
CurrentRebelPage ( ) : RebelPageResult

Returns the currently rendered Rebel page

RedirectToCurrentRebelPage ( ) : RedirectToRebelPageResult

Redirects to the currently rendered Rebel page

RedirectToRebelPage ( HiveId pageId ) : RedirectToRebelPageResult

Redirects to the Rebel page with the given id

RedirectToRebelPage ( TypedEntity pageEntity ) : RedirectToRebelPageResult

Redirects to the Rebel page with the given id

SurfaceController ( ) : System

Empty constructor, uses DependencyResolver to resolve the IRoutableRequestContext

SurfaceController ( IRoutableRequestContext routableRequestContext ) : System

Default constructor

Method Details

CurrentRebelPage() protected method

Returns the currently rendered Rebel page
protected CurrentRebelPage ( ) : RebelPageResult
return Rebel.Cms.Web.Mvc.RebelPageResult

RedirectToCurrentRebelPage() protected method

Redirects to the currently rendered Rebel page
protected RedirectToCurrentRebelPage ( ) : RedirectToRebelPageResult
return RedirectToRebelPageResult

RedirectToRebelPage() protected method

Redirects to the Rebel page with the given id
protected RedirectToRebelPage ( HiveId pageId ) : RedirectToRebelPageResult
pageId HiveId
return RedirectToRebelPageResult

RedirectToRebelPage() protected method

Redirects to the Rebel page with the given id
protected RedirectToRebelPage ( TypedEntity pageEntity ) : RedirectToRebelPageResult
pageEntity TypedEntity
return RedirectToRebelPageResult

SurfaceController() protected method

Empty constructor, uses DependencyResolver to resolve the IRoutableRequestContext
protected SurfaceController ( ) : System
return System

SurfaceController() protected method

Default constructor
protected SurfaceController ( IRoutableRequestContext routableRequestContext ) : System
routableRequestContext IRoutableRequestContext
return System