public sealed record NavigationOutcome : IEquatable<NavigationOutcome> A summary of a NavigationResult without its .NET content and exception, so a ViewModel can return it to a Runic View, for example as the output of a back command.
Parameters
KindHow the request ended.
RejectionWhy the request was rejected, for
NavigationOutcomeKind.Rejected; otherwisenull.
Constructors
NavigationOutcome
public NavigationOutcome(NavigationOutcomeKind Kind, NavigationRejection? Rejection = null) A summary of a NavigationResult without its .NET content and exception, so a ViewModel can return it to a Runic View, for example as the output of a back command.
Parameters
KindHow the request ended.
RejectionWhy the request was rejected, for
NavigationOutcomeKind.Rejected; otherwisenull.
Properties
Arrival
public NavigationArrivalState Arrival { get; init; } Gets how the arrival hooks (INavigationArrived) of the entries a NavigationOutcomeKind.Committed transition made current ended, so a page can show that their data failed to load; NavigationArrivalState.None for every other kind. Only the full navigation result carries the exception of a NavigationArrivalState.Failed hook.
Rejection
public NavigationRejection? Rejection { get; init; } Why the request was rejected, for NavigationOutcomeKind.Rejected; otherwise null.