Search Results for

    Show / Hide Table of Contents
    View Source

    Class WebPath

    Inheritance
    System.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
    System.Char

    Methods

    View Source

    Combine(String[])

    Declaration
    public static string Combine(params string[] paths)
    Parameters
    Type Name Description
    System.String[] paths
    Returns
    Type Description
    System.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
    System.String webPath

    The web path to check. This can be null.

    UriKind uriKind

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

    Returns
    Type Description
    System.Boolean

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

    • Improve this Doc
    • View Source
    In This Article
    • Fields
      • PathSeparator
    • Methods
      • Combine(String[])
      • IsWellFormedWebPath(String, UriKind)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX