Method
Router.GetRouteFromPath
GetRouteFromPath(RouteMethod, string) #
Gets the first matched Route by their HTTP method and path.
public Route? GetRouteFromPath(RouteMethod method, string uri)Parameters #
method RouteMethod
The HTTP method to match.
uri string
The URL expression.
Returns #
GetRouteFromPath(string) #
Gets the first matched Route by their URL path.
public Route? GetRouteFromPath(string uri)Parameters #
uri string
The URL expression.