Table of Contents

Property Id

Namespace
Velvet
Assembly
Velvet.Docs.dll

Id

Identifies this route among the matches: the key of its loader data, its action data and its error, and what Hooks.UseRouteLoaderData takes. When null the route takes its position in the tree, the indexes from the top-level array down joined by - ("0", "0-1"). Two routes of one tree sharing an id make the tree throw.

public string? Id { get; init; }

Property Value

string