10 private string? uniqueId =
null;
23 return this.NavigationCompletionSource.Task;
32 this.parentArgs = ParentArgs;
42 string BackRoute =
"..";
47 while (ParentArgs is not
null && ParentArgs.backMethod ==
BackMethod.Inherited)
49 ParentArgs = ParentArgs.parentArgs;
53 if (ParentArgs is
null)
70 return BackRoute +
"/..";
An base class holding page specific navigation parameters.
Task GetNavigationCompletionTask()
Returns the task for NavigationCompletionSource
string? UniqueId
An unique view identifier used to search the args of similar view types.
readonly TaskCompletionSource< bool > NavigationCompletionSource
The completion source for the navigation task. Will return true when the navigation and transitions a...
void SetBackArguments(NavigationArgs? ParentArgs, BackMethod BackMethod=BackMethod.Inherited, string? UniqueId=null)
Sets the reference to the main parent's NavigationArgs.
string GetBackRoute()
Get the route used for the IUiService.GoBackAsync method.
bool Animated
Is the navigation animated
BackMethod
Navigation Back Method