Table of Contents

Class RoutableScreen<TParam>

Namespace
Artemis.UI.Shared.Routing
Assembly
Artemis.UI.Shared.dll

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

public abstract class RoutableScreen<TParam> : RoutableScreen, IReactiveNotifyPropertyChanged<IReactiveObject>, IHandleObservableErrors, IReactiveObject, IEnableLogger, IActivatableViewModel where TParam : new()

Type Parameters

TParam

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

Inheritance
object
ReactiveObject
RoutableScreen<TParam>
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
IActivatableViewModel
Derived
Inherited Members
ReactiveObject.SuppressChangeNotifications()
ReactiveObject.AreChangeNotificationsEnabled()
ReactiveObject.DelayChangeNotifications()
ReactiveObject.Changing
ReactiveObject.Changed
ReactiveObject.ThrownExceptions
ReactiveObject.PropertyChanging
ReactiveObject.PropertyChanged

Properties

ParameterSource

Gets or sets the parameter source of the screen.

protected ParameterSource ParameterSource { get; set; }

Property Value

ParameterSource

Methods

OnNavigating(TParam, NavigationArguments, CancellationToken)

Called while navigating to this screen.

public virtual Task OnNavigating(TParam parameters, NavigationArguments args, CancellationToken cancellationToken)

Parameters

parameters TParam

An object containing the parameters of the navigation action.

args NavigationArguments

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

Task