RunicNavigationReply record

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed record RunicNavigationReply : IEquatable<RunicNavigationReply>

Inherits or implements IEquatable.

The reply to a window's navigation request (navigation-path/1): RunicWindowTestHost.NavigateBackAsync or RunicWindowTestHost.OpenNavigationPathAsync.

Properties

ErrorReason

public string? ErrorReason { get; }

Gets the failure's reason, such as unavailable, or null.

HasPath

public bool HasPath { get; }

Gets whether the window has a path region (RunicPresentation.SyncNavigationPath), so the reply carries RunicNavigationReply.Path.

Json

public string Json { get; }

Gets the reply's JSON.

Outcome

public NavigationOutcome? Outcome { get; }

Gets the request's outcome, or null when no route matched the opened path (nothing navigated) or the request failed.

Path

public string? Path { get; }

Gets the window's route path after the request: what a page's URL shows, and what it reverts to when the request did not commit. null when the path region is empty or its page has no route.

Succeeded

public bool Succeeded { get; }

Gets whether the window answered ok.