Method GetRouteFromPath
GetRouteFromPath(RouteMethod, string)
Gets the first matched Route by their HTTP method and path.
public Route? GetRouteFromPath(RouteMethod method, string uri)
Parameters
methodRouteMethodThe HTTP method to match.
uristringThe URL expression.
Returns
GetRouteFromPath(string)
Gets the first matched Route by their URL path.
public Route? GetRouteFromPath(string uri)
Parameters
uristringThe URL expression.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語