C# 클래스 Sdl.Web.Mvc.Controllers.PageController

상속: BaseController
파일 보기 프로젝트 열기: sdl/dxa-web-application-dotnet

공개 메소드들

메소드 설명
Blank ( ) : System.Web.Mvc.ActionResult
Resolve ( string itemId, int localizationId, string defaultItemId = null, string defaultPath = null ) : System.Web.Mvc.ActionResult

Resolve a item ID into a url and redirect to that URL

ServerError ( ) : System.Web.Mvc.ActionResult

비공개 메소드들

메소드 설명
EnrichEmbeddedModels ( PageModel model ) : void

Enriches all the Region/Entity Models embedded in the given Page Model.

Used by FormatDataAttribute to get all embedded Models enriched without rendering any Views.

NotFound ( ) : System.Web.Mvc.ActionResult
Page ( string pageUrl ) : System.Web.Mvc.ActionResult

메소드 상세

Blank() 공개 메소드

public Blank ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult

Resolve() 공개 메소드

Resolve a item ID into a url and redirect to that URL
public Resolve ( string itemId, int localizationId, string defaultItemId = null, string defaultPath = null ) : System.Web.Mvc.ActionResult
itemId string The ID of the Page to resolve.
localizationId int The context Localization in which to resolve.
defaultItemId string Optional ID of a Component to resolve in case the Page cannot be resolved.
defaultPath string
리턴 System.Web.Mvc.ActionResult

ServerError() 공개 메소드

public ServerError ( ) : System.Web.Mvc.ActionResult
리턴 System.Web.Mvc.ActionResult