Method UseMatch
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
UseMatch(string)
Returns the match for the given pattern against the current location, or null
when it does not match. The pattern uses the same
segment syntax as routes (literal / :param / *); matching is case-insensitive.
public static RouteMatch? UseMatch(string pattern)
Parameters
patternstring