Search Results for

    Show / Hide Table of Contents
    View Source

    Class DefaultUrlAssembler

    Provides the default implementation of IUrlAssembler.

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Routing
    Assembly: Umbraco.Core.dll
    Syntax
    public class DefaultUrlAssembler : IUrlAssembler

    Constructors

    View Source

    DefaultUrlAssembler(UriUtility)

    Initializes a new instance of the DefaultUrlAssembler class.

    Declaration
    public DefaultUrlAssembler(UriUtility uriUtility)
    Parameters
    Type Name Description
    UriUtility uriUtility

    The URI utility.

    Methods

    View Source

    AssembleUrl(string, Uri, UrlMode)

    Assembles a URL from the specified path, current URI, and URL mode.

    Declaration
    public 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