Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
INavigationService.cs
3
5{
9 [DefaultImplementation(typeof(NavigationService))]
10 public interface INavigationService
11 {
16 Task GoToAsync(string Route);
17
24 Task GoToAsync(string Route, BackMethod BackMethod, string? UniqueId = null);
25
32 Task GoToAsync<TArgs>(string Route, TArgs? Args)
33 where TArgs : NavigationArgs, new();
34
43 Task GoToAsync<TArgs>(string Route, TArgs? Args, BackMethod BackMethod, string? UniqueId = null)
44 where TArgs : NavigationArgs, new();
45
51
59 Task SetRootAsync<TArgs>(string Route, TArgs? Args) where TArgs : NavigationArgs, new();
60
65 Task SetRootAsync(string Route);
66
72
77
82
87
93 TArgs? PopLatestArgs<TArgs>() where TArgs : NavigationArgs, new();
94 }
95}
An base class holding page specific navigation parameters.
A base class for all pages, intended for custom navigation with explicit life-cycle events.
Service for navigating between pages using route-based navigation.
Task GoBackAsync()
Pops the current page from the navigation stack and displays the previous page.
Task GoToAsync(string Route)
Navigates to the specified route and pushes the page onto the navigation stack.
Task GoToAsync(string Route, BackMethod BackMethod, string? UniqueId=null)
Navigates to the specified route and pushes the page onto the navigation stack specifying back method...
Task PopToRootAsync()
Pops all pages until only the root page remains on the navigation stack.
Task SetRootAsync(string Route)
Replaces the entire navigation stack with the page registered for the given route....
Task GoToAsync< TArgs >(string Route, TArgs? Args)
Navigates to the specified route and pushes the page onto the navigation stack with navigation argume...
TArgs? PopLatestArgs< TArgs >()
Pops the latest navigation arguments if any.
BaseContentPage? CurrentPage
Gets the current visible view.
BackMethod
Navigation Back Method
Definition: BackMethod.cs:7