Artemis Artemis
Artemis Artemis

Search Results for

    Class RoutableScreen<TParam>

    Represents a view model to which routing with parameters can take place.

    Inheritance
    object
    ReactiveObject
    ViewModelBase
    ActivatableViewModelBase
    RoutableScreen
    RoutableScreen<TParam>
    RoutableHostScreen<TScreen, TParam>
    Implements
    IReactiveNotifyPropertyChanged<IReactiveObject>
    IHandleObservableErrors
    IReactiveObject
    IEnableLogger
    IActivatableViewModel
    Inherited Members
    RoutableScreen.BeforeNavigating(NavigationArguments)
    RoutableScreen.OnNavigating(NavigationArguments, CancellationToken)
    RoutableScreen.OnClosing(NavigationArguments)
    ActivatableViewModelBase.Activator
    ViewModelBase.RaiseAndSetIfChanged<TRet>(ref TRet, TRet, string)
    ViewModelBase.DisplayName
    ReactiveObject.SuppressChangeNotifications()
    ReactiveObject.AreChangeNotificationsEnabled()
    ReactiveObject.DelayChangeNotifications()
    ReactiveObject.Changing
    ReactiveObject.Changed
    ReactiveObject.ThrownExceptions
    ReactiveObject.PropertyChanging
    ReactiveObject.PropertyChanged
    Namespace: Artemis.UI.Shared.Routing
    Assembly: Artemis.UI.Shared.dll
    Syntax
    public abstract class RoutableScreen<TParam> : RoutableScreen, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IActivatableViewModel where TParam : new()
    Type Parameters
    Name Description
    TParam

    The type of parameters the screen expects. It must have a parameterless constructor.

    Constructors

    RoutableScreen()

    Declaration
    protected RoutableScreen()

    Methods

    OnNavigating(TParam, NavigationArguments, CancellationToken)

    Called while navigating to this screen.

    Declaration
    public virtual Task OnNavigating(TParam parameters, NavigationArguments args, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    TParam parameters

    An object containing the parameters of the navigation action.

    NavigationArguments args

    Navigation arguments containing information about the navigation action.

    CancellationToken cancellationToken

    A cancellation token that can be used by other objects or threads to receive notice of cancellation.

    Returns
    Type Description
    Task

    Implements

    ReactiveUI.IReactiveNotifyPropertyChanged<TSender>
    ReactiveUI.IHandleObservableErrors
    ReactiveUI.IReactiveObject
    Splat.IEnableLogger
    ReactiveUI.IActivatableViewModel
    Content is available under the PolyForm Noncommercial License, by Artemis RGB.