Runic.Navigation

Version 0.23.0, target framework net10.0. Read from the published package.

Runic.Navigation

INavigationArrived interface

Runs after the entry became current and the change was presented, outside model turns: on every commit that makes the entry its region's current entry, after INavigationAware.OnNavigatedTo.

INavigationArrived<TInput> interface

The arrival hook of an entry created with typed input (NavigationTarget.Create and the region methods that wrap it), called with that input instead of INavigationArrived.

INavigationAware interface

Tells content when its entry becomes its region's current entry and when it stops being current.

INavigationDepartureGuard interface

Can veto a transition that retains or retires an entry.

INavigationInitialize interface

Initializes a new entry once, before it first becomes current.

INavigationInitialize<TInput> interface

Initializes a new entry created with typed input by NavigationTarget.Create or NavigationTarget.Create.

INavigationInput<TInput> interface

The member-less base of the hooks that receive a target's typed input, INavigationInitialize and INavigationArrived, so the input targets accept content that implements either.

INavigationInputInitialize interface

The non-generic base of every INavigationInitialize, so the navigator can recognize content that initializes with input through an interface check.

INavigationPresentation interface

A presentation of a navigator's content, attached with RunicNavigator.AttachPresentation.

INavigationRegionGuard interface

Can veto a transition that departs from a whole region, independent of the entries' content: for example a guard that asks once whether to discard unsaved work anywhere in a window.

INavigationResume interface

Runs when a retained entry becomes current again.

INavigationRouteMap interface

Maps route paths, such as customers/42/invoices/7, to navigation targets, and the entries of a region back to their route paths.

INavigationTarget<TContent> interface

A navigation target created by NavigationTarget.

IRunicModelContext interface

Owns short, serialized mutations and reads for one mutable application-model graph.

IRunicModelContextLease interface

Represents one ownership claim over a model graph's execution context.

IRunicModelContextLifetime interface

Optionally implemented by an IRunicModelContext that reports when it closes, for example on disposal or when its UI thread shuts down.

IRunicModelHookScheduler interface

Optionally implemented by an IRunicModelContext that runs the navigator's hooks in its context, such as RunicModelContext and a UI dispatcher context.

IRunicModelPresentationYield interface

Optionally implemented by an IRunicModelContext whose presentation renders after a turn, such as a UI dispatcher context.

LeaveConfirmation class

A departure guard that asks before unsaved changes are lost, and discards them only when the departure commits.

NavigationAdmission enum

How a region admits a request while an earlier request of the region runs.

NavigationArrival record

Describes an entry becoming current: a retained entry resuming (INavigationResume.ResumeAsync, INavigationAware.OnNavigatedTo), or a new entry's first commit (INavigationAware.OnNavigatedTo).

NavigationArrivalState enum

How the arrival hooks of a committed transition ended (Committed.Arrival).

NavigationChildRetention enum

What a child region does while the entry that owns it is retained.

NavigationCompletion<TResult> record

How a NavigationRegion.PushForResult request ended.

NavigationCompletion<TResult>.Completed record

The result entry called NavigationEntryContext.CompleteAsync, and the transition that returned from it with Value committed.

NavigationCompletion<TResult>.Dismissed record

The request ended without a result: its push did not commit, the entry retired without completing, the caller's token was cancelled after the commit, or the navigator closed.

NavigationDeparture class

Describes a departure that a guard can veto.

NavigationDepartureKind enum

Whether a departing entry is retained or retired.

NavigationEntry class

One entry of a navigation region, independent of the region's content type: its stable id, content, ownership and state.

NavigationEntry<TContent> class

One entry of a navigation region: its stable id, content, ownership and state.

NavigationEntryContext class

Gives an entry's content its identity, state, retirement signal, model context and late-completion operations.

NavigationEntryId record struct

Identifies one navigation entry.

NavigationEntryPath record

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

NavigationEntryState enum

The lifecycle state of a navigation entry.

NavigationEntryStateChangedEventArgs class

The data of NavigationEntryContext.StateChanged.

NavigationExit record

Describes the current entry stopping being current (INavigationAware.OnNavigatedFrom).

NavigationOperation enum

The operation that caused a departure, resume or result.

NavigationOutcome record

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.

NavigationOutcomeKind enum

How a navigation request ended, as reported by NavigationOutcome.Kind.

NavigationOwnership enum

Whether the navigator owns an entry's content.

NavigationPath record

A serializable navigation state: the regions and selections of a navigator that no entry owns, each with its entries and, below each entry, the regions and selections its content owns.

NavigationPhase enum

The phase in which a transition failed.

NavigationRegion class

One navigation region, independent of its content type, for hosts that present a region without knowing it.

NavigationRegion<TContent> class

One navigation region: a stack of typed entries whose top is NavigationRegion.Current.

NavigationRegionDeparture class

Describes a departure from a region that a INavigationRegionGuard can veto.

NavigationRegionGuardOptions record

When a region guard is asked.

NavigationRegionGuardOrder enum

When a region or navigator guard is asked relative to the departure guards of the entries.

NavigationRegionOptions record

Configures a region: what happens to it while the entry that owns it is retained, and how it admits requests.

NavigationRegionPath record

A region of a NavigationPath: its entries, from the bottom of its history to the current entry.

NavigationRejection enum

Why a navigation request was rejected.

NavigationRequestOptions record

Options of one navigation request.

NavigationRestoreIssue record

A part of a NavigationPath that was not restored.

NavigationRestoreIssueKind enum

Why a part of a NavigationPath was not restored.

NavigationRestoreOptions record

Configures RunicNavigator.RestoreAsync and the region and selection restores.

NavigationRestoreResult record

What RunicNavigator.RestoreAsync could not restore.

NavigationResult<TContent> record

The outcome of a navigation request.

NavigationResult<TContent>.Committed record

The transition committed.

NavigationResult<TContent>.Failed record

The transition failed; history is unchanged.

NavigationResult<TContent>.Rejected record

The transition was rejected; history is unchanged.

NavigationResult<TContent>.Superseded record

A later request of the region, or of its parent, replaced this one before it committed.

NavigationResultRequest<TContent, TResult> class

A push that waits for a typed result from the pushed entry.

Reads route paths from deep links: URLs with the application's scheme or of its web-link hosts.

NavigationRouteMap class

The route map that NavigationRouteMapBuilder builds: typed route templates mapped to navigation targets.

NavigationRouteMapBuilder class

Declares the routes of a NavigationRouteMap.

NavigationRouteOpen enum

How NavigationRegion.OpenRouteAsync opens a route in a region.

NavigationRouteServiceCollectionExtensions class

Registers a NavigationRouteMap.

NavigationRouteValues class

The parameter values of a route: Int32, Int64, String, Guid and Boolean values by parameter name, compared without regard to case.

NavigationSelection class

Which one of an owner's sibling regions is presented, such as the tab of a page whose tabs each keep their own stack.

NavigationSelectionOptions record

Configures a selection created by RunicNavigator.CreateSelection.

NavigationSelectionPath record

A selection of a NavigationPath, such as document tabs: each region of it by position, and the selected one.

NavigationTarget class

Creates navigation targets and states who owns their content.

NavigationUnmappedEntries enum

What RunicNavigator.RestoreAsync does with an entry whose route no route of the map matches.

RunicDraftFlush class

Writes the drafts that presentations of a model context hold before a departure is decided: a web page's field that waits to write what the user typed (commit: "pause"), for example.

RunicEditSession<T> class

The editing state of a form in a ViewModel of any MVVM framework: a baseline snapshot of the edited values, whether the current values differ from it (RunicEditSession.IsDirty, with change notification), RunicEditSession.Accept after a save and RunicEditSession.Revert to discard.

RunicModelContext class

A host-neutral serial execution context for a ViewModel graph.

RunicModelContextRegistry class

Associates each model identity with the context that owns its mutations.

RunicModelTurnExceptionEventArgs class

Describes an exception that a model context reports through IRunicModelContext.UnhandledTurnException: a posted turn that threw, a posted turn that the context dropped when it closed, or a close callback that threw.

RunicNavigationServiceCollectionExtensions class

Registers the window navigator.

RunicNavigator class

Owns the navigation regions and entries of one window.

RunicNavigatorOptions class

Configures a RunicNavigator.