C# Класс Alloy.Helpers.UrlHelpers

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetPageRoute() публичный статический метод

public static GetPageRoute ( this requestContext, EPiServer.Core.ContentReference contentLink ) : RouteValueDictionary
requestContext this
contentLink EPiServer.Core.ContentReference
Результат RouteValueDictionary

PageLinkUrl() публичный статический метод

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
Результат IHtmlString

PageLinkUrl() публичный статический метод

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
Результат IHtmlString