Search Results for

    Show / Hide Table of Contents
    View Source

    Class LinkParserExtensions

    Extension methods for LinkParser.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.Common.Extensions
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public static class LinkParserExtensions

    Methods

    View Source

    ParsePathByEndpoint(LinkParser, Endpoint, PathString)

    Parses the path using the specified endpoint and returns the route values if a the path matches the route pattern.

    Declaration
    public static RouteValueDictionary ParsePathByEndpoint(this LinkParser linkParser, Endpoint endpoint, PathString path)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Routing.LinkParser linkParser

    The link parser.

    Microsoft.AspNetCore.Http.Endpoint endpoint

    The endpoint.

    Microsoft.AspNetCore.Http.PathString path

    The path to parse.

    Returns
    Type Description
    Microsoft.AspNetCore.Routing.RouteValueDictionary

    The route values if the path matches or null.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • ParsePathByEndpoint(LinkParser, Endpoint, PathString)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX