Property Guard
- Namespace
- Velvet
- Assembly
- Velvet.Docs.dll
Guard
Returning null continues navigation; returning a path redirects. Runs after the Blocker and matching, and before the Action and Loaders.
public Func<RouteLoaderContext, string>? Guard { get; init; }
Property Value
- Func<RouteLoaderContext, string>