Class MenuReachabilityWalker
Breadth-first walk of every view reachable from a root view id, following each menu's TRANSITION options and every other view kind's own declared edges (a cascade's, a leaderboard's or an achievements view's return target; a leaderboard's SHOW_VIEW button targets). Engine-agnostic: it reads only IMenuNavigationLookup and the plain IMenuSettingsDefinition/ UiOption values, so the same walk can back the Menu Manager's auto-load and run in a pure unit test.
Inherited Members
Namespace: Serenity.Menu.Application.Navigation
Assembly: Serenity.Menu.Application.dll
Syntax
public static class MenuReachabilityWalker
Methods
WalkFrom(string, IMenuNavigationLookup)
Walks every view reachable from rootViewId.
Declaration
public static MenuNavigationGraph WalkFrom(string rootViewId, IMenuNavigationLookup lookup)
Parameters
| Type | Name | Description |
|---|---|---|
| string | rootViewId | The view id to start the walk from (typically
|
| IMenuNavigationLookup | lookup | Resolves a view id into a menu, a known non-menu view, or neither. |
Returns
| Type | Description |
|---|---|
| MenuNavigationGraph | Every view and unresolved target reachable from the root. |