9 writes to RelativeToCurrentUri
Microsoft.AspNetCore.Components.Tests (9)
NavigationManagerTest.cs (9)
953
testNavManager.NavigateTo("sibling.html", new NavigationOptions {
RelativeToCurrentUri
= true });
967
testNavManager.NavigateTo("other.html", new NavigationOptions {
RelativeToCurrentUri
= true });
980
testNavManager.NavigateTo("relative.html", new NavigationOptions {
RelativeToCurrentUri
= false });
994
testNavManager.NavigateTo("other.html", new NavigationOptions {
RelativeToCurrentUri
= true });
1007
testNavManager.NavigateTo("sibling.html", new NavigationOptions {
RelativeToCurrentUri
= true });
1020
testNavManager.NavigateTo("other.html?new=param", new NavigationOptions {
RelativeToCurrentUri
= true });
1033
testNavManager.NavigateTo("sibling.html", new NavigationOptions {
RelativeToCurrentUri
= true });
1072
testNavManager.NavigateTo(relativeUri, new NavigationOptions {
RelativeToCurrentUri
= true });
1096
testNavManager.NavigateTo(absoluteUri, new NavigationOptions {
RelativeToCurrentUri
= true }));
3 references to RelativeToCurrentUri
Microsoft.AspNetCore.Components (1)
NavigationManager.cs (1)
164
if (options.
RelativeToCurrentUri
)
Microsoft.AspNetCore.Components.Tests (2)
NavigationManagerTest.cs (2)
957
Assert.True(testNavManager.Navigations[0].options.
RelativeToCurrentUri
);
984
Assert.False(testNavManager.Navigations[0].options.
RelativeToCurrentUri
);