Search Results for

    Show / Hide Table of Contents
    View Source

    Class EndpointDataSourceExtensions

    Extensions methods for EndpointDataSource.

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

    Methods

    View Source

    GetEndpointByPath(EndpointDataSource, LinkParser, PathString, out RouteValueDictionary)

    Gets an endpoint that matches the specified path.

    Declaration
    public static Endpoint GetEndpointByPath(this EndpointDataSource endpointDatasource, LinkParser linkParser, PathString path, out RouteValueDictionary routeValues)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Routing.EndpointDataSource endpointDatasource

    The end point data source.

    Microsoft.AspNetCore.Routing.LinkParser linkParser

    The link parsers using to parse the path.

    Microsoft.AspNetCore.Http.PathString path

    The path to be parsed.

    Microsoft.AspNetCore.Routing.RouteValueDictionary routeValues

    The mathcing route values for the mathcing endpoint.

    Returns
    Type Description
    Microsoft.AspNetCore.Http.Endpoint

    The endpoint or null if not found.

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