Gets the node's published url.
public static ValueTask<string> UrlAsync(INodeViewModel model, UrlType type = 1, Dictionary<string, string> routeValues)
- Returns:
- ValueTask<string>
Parameters
model
INodeViewModel
The page to get the url for.
type
UrlType
The type of url to get. Defaults to {F:Redakt.ContentManagement.Web.UrlType.RelativeIfSameHost}.
routeValues
Dictionary<string, string>
Optional route values, if the page contains virtual url elements.