Interface IUrlAssembler
Provides URL assembly functionality for constructing URLs from path components.
Namespace: Umbraco.Cms.Core.Routing
Assembly: Umbraco.Core.dll
Syntax
public interface IUrlAssembler
Methods
View SourceAssembleUrl(string, Uri, UrlMode)
Assembles a URL from the specified path, current URI, and URL mode.
Declaration
Uri AssembleUrl(string path, Uri current, UrlMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | The path component of the URL. |
| Uri | current | The current request URI. |
| UrlMode | mode | The URL mode determining how the URL should be formatted. |
Returns
| Type | Description |
|---|---|
| Uri | The assembled System.Uri. |