We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39d1656 commit 03bf80cCopy full SHA for 03bf80c
1 file changed
src/Navigation/Host/NavigationParameters.cs
@@ -1,4 +1,4 @@
1
-using Flurl;
+using Flurl;
2
using System.Collections.Generic;
3
using System.Linq;
4
@@ -49,4 +49,10 @@ public NavigationParameters(Url url)
49
/// </summary>
50
/// <returns>A string that represents the request.</returns>
51
public override string ToString() => _url;
52
+
53
+ /// <summary>
54
+ /// Wrap a <see cref="Url"/>.
55
+ /// </summary>
56
+ /// <param name="url"></param>
57
+ public static implicit operator NavigationParameters(Url url) => new(url);
58
}
0 commit comments