Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    AssembleUrl(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.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX