Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebPath

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

    Fields

    View Source

    PathSeparator

    Declaration
    public const char PathSeparator = '/'
    Field Value
    Type Description
    char

    Methods

    View Source

    Combine(params string[]?)

    Declaration
    public static string Combine(params string[]? paths)
    Parameters
    Type Name Description
    string[] paths
    Returns
    Type Description
    string
    View Source

    IsWellFormedWebPath(string?, UriKind)

    Determines whether the provided web path is well-formed according to the specified UriKind.

    Declaration
    public static bool IsWellFormedWebPath(string? webPath, UriKind uriKind)
    Parameters
    Type Name Description
    string webPath

    The web path to check. This can be null.

    UriKind uriKind

    The kind of Uri (Absolute, Relative, or RelativeOrAbsolute).

    Returns
    Type Description
    bool

    true if webPath is well-formed; otherwise, false.

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