9 writes to RelativeToCurrentUri
Microsoft.AspNetCore.Components.Tests (9)
NavigationManagerTest.cs (9)
897
testNavManager.NavigateTo("sibling.html", new NavigationOptions {
RelativeToCurrentUri
= true });
911
testNavManager.NavigateTo("other.html", new NavigationOptions {
RelativeToCurrentUri
= true });
924
testNavManager.NavigateTo("relative.html", new NavigationOptions {
RelativeToCurrentUri
= false });
938
testNavManager.NavigateTo("other.html", new NavigationOptions {
RelativeToCurrentUri
= true });
951
testNavManager.NavigateTo("sibling.html", new NavigationOptions {
RelativeToCurrentUri
= true });
964
testNavManager.NavigateTo("other.html?new=param", new NavigationOptions {
RelativeToCurrentUri
= true });
977
testNavManager.NavigateTo("sibling.html", new NavigationOptions {
RelativeToCurrentUri
= true });
1016
testNavManager.NavigateTo(relativeUri, new NavigationOptions {
RelativeToCurrentUri
= true });
1040
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)
901
Assert.True(testNavManager.Navigations[0].options.
RelativeToCurrentUri
);
928
Assert.False(testNavManager.Navigations[0].options.
RelativeToCurrentUri
);