Table of Contents

Property Guard

Namespace
Velvet
Assembly
Velvet.Docs.dll

Guard

Returning null continues navigation; returning a path redirects. Runs after matching and before Blockers and Loaders.

public Func<RouteLoaderContext, string>? Guard { get; init; }

Property Value

Func<RouteLoaderContext, string>