-
Notifications
You must be signed in to change notification settings - Fork 389
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ToUri() to the PathBuilder #1719
Comments
ToUri()
to the PathBuilder
An alternative is to allow |
Once a dev creates a await NavigationService.NavigateAsync(BackStackBehaviors.Clear, nameof(MyView)); |
You might also use the PathBuilder if you are putting a payload inside a JumpList or a Tile or inside a Toast so that you can use that payload to preload the Frame after you activate the app. I still think the best approach here is to simply allow NavigateAsync to accept PathBuilder as an argument. var path = PathBuilder.Create(BackStackBehaviors.Clear, nameof(MyView));
await NavigationService.NavigateAsync(path, {extra in-memory parameters}); I don't see a downside to ALSO implementing |
I wonder if a fluent API would be useful here. |
Currently has
ToString()
which requires:This works and should not be changed.
The desired ADDITIONAL syntax would be:
It will be difficult to remember the
UriKind.Relative
part anyway.The text was updated successfully, but these errors were encountered: