Show / Hide Table of Contents

Interface INavigator

Navigation interface

Namespace: Neutronium.BuildingBlocks.Application.Navigation
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
Type Name Description
System.Type type
NavigationContext context
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
Type Name Description
NavigationContext<T> context
Returns
Type Description
System.Threading.Tasks.Task
Type Parameters
Name Description
T

Events

| Improve this Doc View Source

OnNavigated

Sent after navigation

Declaration
event EventHandler<RoutedEventArgs> OnNavigated
Event Type
Type Description
System.EventHandler<RoutedEventArgs>
| Improve this Doc View Source

OnNavigating

Sent during navigation

Declaration
event EventHandler<RoutingEventArgs> OnNavigating
Event Type
Type Description
System.EventHandler<RoutingEventArgs>
| Improve this Doc View Source

OnRoutingMessage

Routing events sent for routing purpose

Declaration
event EventHandler<RoutingMessageArgs> OnRoutingMessage
Event Type
Type Description
System.EventHandler<RoutingMessageArgs>
  • Improve this Doc
  • View Source
Back to top Generated by DocFX