public sealed record NavigationRegionPath : IEquatable<NavigationRegionPath> A region of a NavigationPath: its entries, from the bottom of its history to the current entry.
Parameters
EntriesThe entries, bottom to top; empty for an empty region.
Constructors
NavigationRegionPath
public NavigationRegionPath(IReadOnlyList<NavigationEntryPath> Entries) A region of a NavigationPath: its entries, from the bottom of its history to the current entry.
Parameters
EntriesThe entries, bottom to top; empty for an empty region.
Properties
Entries
public IReadOnlyList<NavigationEntryPath> Entries { get; init; } The entries, bottom to top; empty for an empty region.
Methods
FromJson
public static NavigationRegionPath FromJson(string json) Reads a region that NavigationRegionPath.ToJson wrote.
Exceptions
FormatExceptionThe text is not such a region.
ToJson
public string ToJson() Writes the region as JSON, as an element of regions in NavigationPath.ToJson.