NavigationRestoreIssueKind enum

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public enum NavigationRestoreIssueKind

Why a part of a NavigationPath was not restored.

Remarks

Later releases can add values.

Values

UnmappedRoute

UnmappedRoute = 0

No route of the map matches the entry's route for the region, or the entry had no route. The entry and the regions below it are left out. By default the entries above it are left out too (NavigationRestoreIssueKind.AboveUnmapped); with NavigationUnmappedEntries.Skip they are restored.

MissingRegion

MissingRegion = 1

The owner has fewer regions than the path; the region and its entries are left out.

MissingSelection

MissingSelection = 2

The owner has fewer selections than the path; the selection is left out.

MissingSelectionRegion

MissingSelectionRegion = 3

The selection has fewer regions than the path and no NavigationSelectionOptions.RestoreRegion, or that function returned no usable region; the region is left out.

NotCommitted

NotCommitted = 4

A navigation request did not commit: a guard refused, the request failed, was superseded or the navigator closed. The region keeps what was restored before it, and the rest of the region is left out.

AboveUnmapped

AboveUnmapped = 5

The entries above an NavigationRestoreIssueKind.UnmappedRoute entry, from the Location's index on, such as regions[0]/entries[3..], are left out, because a page above a missing one may depend on it (NavigationUnmappedEntries.Stop).

LimitExceeded

LimitExceeded = 6

A region has more entries than NavigationRestoreOptions.MaximumEntriesPerRegion, or a selection more regions than NavigationRestoreOptions.MaximumRegionsPerSelection; those from the Location's index on, such as regions[0]/entries[256..], are left out.