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

Search Results for

    Class 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.

    Inheritance
    object
    NavigatorBuilderCore
    TestNavigatorBuilder
    Implements
    INavigatorBuilder
    Inherited Members
    NavigatorBuilderCore.MaxNavigationStacksSize
    NavigatorBuilderCore.MaxBackStackCachedDepth
    NavigatorBuilderCore.MaxForwardStackCachedDepth
    NavigatorBuilderCore.Services
    NavigatorBuilderCore.AddRoute(RoutePart)
    NavigatorBuilderCore.ConfigureNavigationStacks(int, int, int)
    Namespace: Singulink.UI.Navigation.Testing
    Assembly: Singulink.UI.Navigation.Testing.dll
    Syntax
    public sealed class TestNavigatorBuilder : NavigatorBuilderCore, INavigatorBuilder

    Properties

    Name Description
    RequiredParentViewType

    Gets the type that parent views must implement (e.g. IParentView in WinUI).

    Methods

    Name Description
    AddDefaultDialogActivators()

    Allows derived builders to register default dialog activators (typically via TryMapDefaultDialog(Type, Func<object>)) that should only apply when the consumer has not provided their own mapping. Invoked once when the navigator is being constructed, after the consumer's build action has run.

    MapDialog<TViewModel>()

    Maps a dialog view model type. Mapping dialogs is optional: any dialog view model can be shown without a mapping, and this method only exists to mirror application builders that register dialogs explicitly.

    MapViewModel<TViewModel>()

    Maps a routed view model type so routes can be added for it. View models are created the same way the application navigator creates them, including constructor injection from Services and parent-provided child services.

    © Singulink. All rights reserved.