1 write to RouteValues
Microsoft.AspNetCore.Mvc.Core (1)
RedirectToActionResult.cs (1)
125RouteValues = routeValues == null ? null : new RouteValueDictionary(routeValues);
40 references to RouteValues
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\RedirectToActionResultExecutor.cs (1)
44result.RouteValues,
Microsoft.AspNetCore.Mvc.Core.Test (12)
ControllerBaseTest.cs (12)
443Assert.Equal(expected, resultTemporary.RouteValues); 467Assert.Equal(expected, resultTemporary.RouteValues); 491Assert.Equal(expected, resultPermanent.RouteValues); 515Assert.Equal(expected, resultPermanent.RouteValues); 535Assert.Equal(expected, resultTemporary.RouteValues); 555Assert.Equal(expected, resultTemporary.RouteValues); 578Assert.Equal(expectedRouteValues, result.RouteValues); 603Assert.Equal(expectedRouteValues, result.RouteValues); 625Assert.Equal(expected, resultPermanent.RouteValues); 645Assert.Equal(expected, resultPermanent.RouteValues); 668Assert.Equal(expectedRouteValues, result.RouteValues); 697Assert.Equal(expectedRouteValues, result.RouteValues);
Microsoft.AspNetCore.Mvc.RazorPages.Test (24)
PageModelTest.cs (12)
434Assert.Equal(expected, resultTemporary.RouteValues); 458Assert.Equal(expected, resultTemporary.RouteValues); 482Assert.Equal(expected, resultPermanent.RouteValues); 506Assert.Equal(expected, resultPermanent.RouteValues); 526Assert.Equal(expected, resultTemporary.RouteValues); 546Assert.Equal(expected, resultTemporary.RouteValues); 569Assert.Equal(expectedRouteValues, result.RouteValues); 594Assert.Equal(expectedRouteValues, result.RouteValues); 616Assert.Equal(expected, resultPermanent.RouteValues); 636Assert.Equal(expected, resultPermanent.RouteValues); 659Assert.Equal(expectedRouteValues, result.RouteValues); 688Assert.Equal(expectedRouteValues, result.RouteValues);
PageTest.cs (12)
454Assert.Equal(expected, resultTemporary.RouteValues); 478Assert.Equal(expected, resultTemporary.RouteValues); 502Assert.Equal(expected, resultPermanent.RouteValues); 526Assert.Equal(expected, resultPermanent.RouteValues); 546Assert.Equal(expected, resultTemporary.RouteValues); 566Assert.Equal(expected, resultTemporary.RouteValues); 589Assert.Equal(expectedRouteValues, result.RouteValues); 614Assert.Equal(expectedRouteValues, result.RouteValues); 636Assert.Equal(expected, resultPermanent.RouteValues); 656Assert.Equal(expected, resultPermanent.RouteValues); 679Assert.Equal(expectedRouteValues, result.RouteValues); 708Assert.Equal(expectedRouteValues, result.RouteValues);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
ControllerUnitTestabilityTests.cs (3)
519Assert.Single(redirectToActionResult.RouteValues); 520Assert.Equal("sample", redirectToActionResult.RouteValues["route"]); 534Assert.Null(redirectToActionResult.RouteValues);