NavigationEntryPath record

Namespace Runic.Navigation in Runic.Navigation 0.23.0

public sealed record NavigationEntryPath : IEquatable<NavigationEntryPath>

Inherits or implements IEquatable.

An entry of a NavigationPath: its route and the regions and selections its content owns.

Parameters

Route

The entry's route path, or null when no route describes it.

Constructors

NavigationEntryPath

public NavigationEntryPath(string? Route)

An entry of a NavigationPath: its route and the regions and selections its content owns.

Parameters

Route

The entry's route path, or null when no route describes it.

Properties

Regions

public IReadOnlyList<NavigationRegionPath> Regions { get; init; }

Gets the regions the entry's content owns, by position, leaving out those of a selection.

Route

public string? Route { get; init; }

The entry's route path, or null when no route describes it.

Selections

public IReadOnlyList<NavigationSelectionPath> Selections { get; init; }

Gets the selections the entry's content owns, by position.