NavigationExit record

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public sealed record NavigationExit : IEquatable<NavigationExit>

Inherits or implements IEquatable.

Describes the current entry stopping being current (INavigationAware.OnNavigatedFrom).

Parameters

Entry

The entry that stops being current.

Operation

The operation that committed the change. NavigationOperation.Clear when the entry's region closed, because the entry that owns the region retired or the navigator was disposed.

Kind

Whether the entry stays in its region's history or retires.

Constructors

NavigationExit

public NavigationExit(NavigationEntryId Entry, NavigationOperation Operation, NavigationDepartureKind Kind)

Describes the current entry stopping being current (INavigationAware.OnNavigatedFrom).

Parameters

Entry

The entry that stops being current.

Operation

The operation that committed the change. NavigationOperation.Clear when the entry's region closed, because the entry that owns the region retired or the navigator was disposed.

Kind

Whether the entry stays in its region's history or retires.

Properties

Entry

public NavigationEntryId Entry { get; init; }

The entry that stops being current.

Kind

public NavigationDepartureKind Kind { get; init; }

Whether the entry stays in its region's history or retires.

Operation

public NavigationOperation Operation { get; init; }

The operation that committed the change. NavigationOperation.Clear when the entry's region closed, because the entry that owns the region retired or the navigator was disposed.