C# Class Alloy.Helpers.UrlHelpers

Afficher le fichier Open project: episerver/EPiTranslateFlowDemo

Méthodes publiques

Méthode Description
GetPageRoute ( this requestContext, EPiServer.Core.ContentReference contentLink ) : RouteValueDictionary
PageLinkUrl ( this urlHelper, EPiServer.Core.ContentReference contentLink ) : IHtmlString

Returns the target URL for a ContentReference. Respects the page's shortcut setting so if the page is set as a shortcut to another page or an external URL that URL will be returned.

PageLinkUrl ( this urlHelper, PageData page ) : IHtmlString

Returns the target URL for a page. Respects the page's shortcut setting so if the page is set as a shortcut to another page or an external URL that URL will be returned.

Method Details

GetPageRoute() public static méthode

public static GetPageRoute ( this requestContext, EPiServer.Core.ContentReference contentLink ) : RouteValueDictionary
requestContext this
contentLink EPiServer.Core.ContentReference
Résultat RouteValueDictionary

PageLinkUrl() public static méthode

Returns the target URL for a ContentReference. Respects the page's shortcut setting so if the page is set as a shortcut to another page or an external URL that URL will be returned.
public static PageLinkUrl ( this urlHelper, EPiServer.Core.ContentReference contentLink ) : IHtmlString
urlHelper this
contentLink EPiServer.Core.ContentReference
Résultat IHtmlString

PageLinkUrl() public static méthode

Returns the target URL for a page. Respects the page's shortcut setting so if the page is set as a shortcut to another page or an external URL that URL will be returned.
public static PageLinkUrl ( this urlHelper, PageData page ) : IHtmlString
urlHelper this
page PageData
Résultat IHtmlString