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 SourceParsePathByEndpoint(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. |