NavigationOperation enum

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public enum NavigationOperation

The operation that caused a departure, resume or result.

Remarks

This set is open: a minor release may add operations, so handle unknown values, for example with a default arm.

Values

Push

Push = 0

A new entry became current; the previous current entry was retained.

Back

Back = 1

The current entry retired and the top retained entry resumed.

BackTo

BackTo = 2

Every entry above a retained entry retired and that entry resumed.

Replace

Replace = 3

The current entry retired and a new entry took its place.

Reset

Reset = 4

Every entry retired and a new entry became the root.

ClearHistory

ClearHistory = 5

Every retained entry retired; the current entry stayed.

Clear

Clear = 6

Every entry retired; the region became empty. A NavigationSelection.RemoveAsync that removes and closes a region retires its entries with this operation too.

Select

Select = 7

A selection presented another of its regions (NavigationSelection.SelectAsync); the entries of the region left were retained.

Confirm

Confirm = 8

The departure was asked without navigating (NavigationRegion.ConfirmDepartureAsync): no entry departs when it commits, and the caller does the agreed work in that commit turn.