Interface INavigator
Assembly: Neutronium.BuildingBlocks.Application.dll
Syntax
public interface INavigator
Methods
|
Improve this Doc
View Source
Navigate(Object, String)
Navigate to the given viewModel using the optional route
If no route, is provided the RouterSolver will be used to find
the corresponding route
Declaration
Task Navigate(object viewModel, string routeName = null)
Parameters
Type |
Name |
Description |
System.Object |
viewModel |
|
System.String |
routeName |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Navigate(String)
Navigate to the given route
Declaration
Task Navigate(string routeName)
Parameters
Type |
Name |
Description |
System.String |
routeName |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Navigate(Type, NavigationContext)
Navigate to the type, using CommonServiceLocator to instance the corresponding ViewModel
Declaration
Task Navigate(Type type, NavigationContext context = null)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
Navigate<T>(NavigationContext<T>)
Navigate to the given NavigationContext
Declaration
Task Navigate<T>(NavigationContext<T> context = null)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Type Parameters
Events
|
Improve this Doc
View Source
OnNavigated
Declaration
event EventHandler<RoutedEventArgs> OnNavigated
Event Type
|
Improve this Doc
View Source
OnNavigating
Declaration
event EventHandler<RoutingEventArgs> OnNavigating
Event Type
|
Improve this Doc
View Source
OnRoutingMessage
Routing events sent for routing purpose
Declaration
event EventHandler<RoutingMessageArgs> OnRoutingMessage
Event Type