Class RoutableScreen<TParam>
Represents a view model to which routing with parameters can take place.
Inheritance
ReactiveObject
RoutableScreen<TParam>
Implements
IReactiveNotifyPropertyChanged<IReactiveObject>
IHandleObservableErrors
IReactiveObject
IEnableLogger
IActivatableViewModel
Inherited Members
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