Class RoutingStateMixins
- Namespace
- ReactiveUI
- Assembly
- ReactiveUI.dll
Extension methods associated with the RoutingState class.
- Inheritance
-
Routing
State Mixins
Methods
FindViewModelInStack<T>(RoutingState)
Locate the first ViewModel in the stack that matches a certain Type.
Parameters
item
RoutingState The routing state.
Returns
- T
The matching ViewModel or null if none exists.
Type Parameters
T
The view model type.
GetCurrentViewModel(RoutingState)
Returns the currently visible ViewModel.
Parameters
item
RoutingState The routing state.
Returns
- IRoutable
View Model The matching ViewModel or null if none exists.