NavigationRestoreIssue record

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public sealed record NavigationRestoreIssue : IEquatable<NavigationRestoreIssue>

Inherits or implements IEquatable.

A part of a NavigationPath that was not restored.

Parameters

Kind

Why it was left out.

Location

Where it is in the path, such as regions[0]/entries[2]/selections[0]/regions[1].

Route

The entry's route, for an entry.

Outcome

The outcome of the navigation request that did not commit, for NavigationRestoreIssueKind.NotCommitted.

Constructors

NavigationRestoreIssue

public NavigationRestoreIssue(NavigationRestoreIssueKind Kind, string Location, string? Route = null, NavigationOutcome? Outcome = null)

A part of a NavigationPath that was not restored.

Parameters

Kind

Why it was left out.

Location

Where it is in the path, such as regions[0]/entries[2]/selections[0]/regions[1].

Route

The entry's route, for an entry.

Outcome

The outcome of the navigation request that did not commit, for NavigationRestoreIssueKind.NotCommitted.

Properties

Kind

public NavigationRestoreIssueKind Kind { get; init; }

Why it was left out.

Location

public string Location { get; init; }

Where it is in the path, such as regions[0]/entries[2]/selections[0]/regions[1].

Outcome

public NavigationOutcome? Outcome { get; init; }

The outcome of the navigation request that did not commit, for NavigationRestoreIssueKind.NotCommitted.

Route

public string? Route { get; init; }

The entry's route, for an entry.