Class RoutableScreen<TParam>
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
TParamThe type of parameters the screen expects. It must have a parameterless constructor.
- Inheritance
-
objectReactiveObjectRoutableScreen<TParam>
- Implements
-
IReactiveNotifyPropertyChanged<IReactiveObject>IHandleObservableErrorsIReactiveObjectIEnableLoggerIActivatableViewModel
- Derived
- Inherited Members
-
ReactiveObject.SuppressChangeNotifications()ReactiveObject.AreChangeNotificationsEnabled()ReactiveObject.DelayChangeNotifications()ReactiveObject.ChangingReactiveObject.ChangedReactiveObject.ThrownExceptionsReactiveObject.PropertyChangingReactiveObject.PropertyChanged
Properties
ParameterSource
Gets or sets the parameter source of the screen.
protected ParameterSource ParameterSource { get; set; }
Property Value
Methods
OnNavigating(TParam, NavigationArguments, CancellationToken)
Called while navigating to this screen.
public virtual Task OnNavigating(TParam parameters, NavigationArguments args, CancellationToken cancellationToken)
Parameters
parametersTParamAn object containing the parameters of the navigation action.
argsNavigationArgumentsNavigation arguments containing information about the navigation action.
cancellationTokenCancellationTokenA cancellation token that can be used by other objects or threads to receive notice of cancellation.