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