NavigationResult<TContent>.Committed record

Namespace Runic.Navigation · Runic.Navigation 0.7.0-preview.5

public sealed record NavigationResult<TContent>.Committed : NavigationResult<TContent>, IEquatable<NavigationResult<TContent>.Committed>

Nested in NavigationResult. Inherits or implements NavigationResult, IEquatable.

The transition committed.

Parameters

Current

The region's current entry after the commit, or null when it is empty.

Retired

The entries whose retirement this transition performed.

Constructors

Committed

public Committed(NavigationEntry<TContent>? Current, IReadOnlyList<NavigationEntryId> Retired)

The transition committed.

Parameters

Current

The region's current entry after the commit, or null when it is empty.

Retired

The entries whose retirement this transition performed.

Properties

Current

public NavigationEntry<TContent>? Current { get; init; }

The region's current entry after the commit, or null when it is empty.

Retired

public IReadOnlyList<NavigationEntryId> Retired { get; init; }

The entries whose retirement this transition performed.