Class RouteMatch
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
One level in a parent-first route matching result.
public sealed class RouteMatch
- Inheritance
-
objectRouteMatch
Properties
- MatchedPath
The route's pattern without surrounding slashes; root remains
/.
- Params
Parameters captured across the full matched branch, shared by every level. A
:idsegment keys its capture asid, and a splat as*.
- PathnameBase
Cumulative rooted pathname used for route-relative navigation. A
..removes this route level's contribution, which may span multiple URL segments. Defaults to/for hand-built matches.
- RouteId
Pattern identifier used as the key for loader data and errors. Index routes are disambiguated from their parent.