UI Tookit UI Tookit
UI Tookit UI Tookit
DocFX + Singulink = ♥

Search Results for

    Namespace Singulink.UI.Navigation.Testing

    Classes

    BusyChangedEvent

    The busy state of a task runner changed. DialogViewModel identifies the dialog whose task runner changed, or null for the navigator's root task runner.

    DialogClosedEvent

    A dialog was closed. The result (if any) is available through the dialog view model and the task returned by ShowDialogAsync.

    DialogDismissRequestedEvent

    A dismiss request (equivalent to the escape key or system back) was delivered to the top dialog.

    DialogFocusRestoredEvent

    Focus was restored to a dialog after a dialog above it closed.

    DialogShownEvent

    A dialog was shown. ParentViewModel is the dialog it was shown from, or null for a top-level dialog.

    LayerCoveredEvent

    A layer became covered by a dialog shown above it, or was uncovered when that dialog closed. ViewModel is the covered dialog, or null for the root view.

    NavigationCompletedEvent

    A navigation completed with the specified result.

    NavigationRedirectedEvent

    A view model requested a redirect during navigation. The redirect is executed immediately after this event.

    NavigationStartedEvent

    A navigation started.

    NavigationTestContext

    Runs test bodies on a single-threaded synchronization context that mimics a UI thread, which TestNavigator and TaskRunner require. All continuations, posted callbacks and fire-and-forget work run on the calling thread in the order they are queued, and any exception thrown by queued work fails the test.

    NavigatorEvent

    Base type for the events recorded by Events, in the order they occurred.

    TestNavigator

    An in-memory NavigatorCore for unit testing view models without a UI framework. It runs the real navigation and dialog engine against placeholder views, records everything that happens in Events, and lets tests script dialog outcomes.

    TestNavigatorBuilder

    Builder for TestNavigator. View models are mapped without views, since the test navigator uses placeholders in place of views and dialogs. Routes are added with the same route definitions the application uses.

    ViewModelActivatedEvent

    A routed view model became the active view model at its level of the view hierarchy.

    ViewModelCreatedEvent

    A routed view model was created for a route.

    ViewModelDeactivatedEvent

    A routed view model stopped being the active view model at its level of the view hierarchy.

    ViewModelLifecycleEvent

    A lifecycle method is about to be invoked on a routed view model.

    ViewModelTestSupport

    Low-level helpers for associating navigators and parameters with view models directly, for mock-style tests that do not use TestNavigator. Each association can only be made once per view model instance, matching the application navigator.

    © Singulink. All rights reserved.