NavigationRegionGuardOrder enum

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public enum NavigationRegionGuardOrder

When a region or navigator guard is asked relative to the departure guards of the entries.

Remarks

A transition asks, in this order: the NavigationRegionGuardOrder.BeforeEntries region guards, region by region, deepest first, each region's guards in registration order; the NavigationRegionGuardOrder.BeforeEntries navigator guards; the entries' departure guards (INavigationDepartureGuard), deepest first; the NavigationRegionGuardOrder.AfterEntries region guards; and the NavigationRegionGuardOrder.AfterEntries navigator guards. The first veto ends the transition and asks no further guard.

This set is closed: it gains values only in a major release.

Values

AfterEntries

AfterEntries = 0

Asked after the departure guards of the entries, as the last question of a transition. The default.

BeforeEntries

BeforeEntries = 1

Asked before the departure guards of the entries; when it vetoes, they are not asked. For preconditions of any departure.