1 write to RouteValues
Microsoft.AspNetCore.Mvc.Core (1)
RedirectToRouteResult.cs (1)
122
RouteValues
= routeValues == null ? null : new RouteValueDictionary(routeValues);
40 references to RouteValues
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\RedirectToRouteResultExecutor.cs (1)
40
result.
RouteValues
,
Microsoft.AspNetCore.Mvc.Core.Test (12)
ControllerBaseTest.cs (12)
718
Assert.Equal(expected, resultTemporary.
RouteValues
);
737
Assert.Equal(expected, resultTemporary.
RouteValues
);
759
Assert.Equal(expectedRouteValues, result.
RouteValues
);
782
Assert.Equal(expectedRouteValues, result.
RouteValues
);
802
Assert.Equal(expected, resultPermanent.
RouteValues
);
821
Assert.Equal(expected, resultPermanent.
RouteValues
);
843
Assert.Equal(expectedRouteValues, result.
RouteValues
);
866
Assert.Equal(expectedRouteValues, result.
RouteValues
);
956
Assert.Equal(expected, resultTemporary.
RouteValues
);
977
Assert.Equal(expected, resultTemporary.
RouteValues
);
998
Assert.Equal(expected, resultPermanent.
RouteValues
);
1285
Assert.Equal(expected, resultPermanent.
RouteValues
);
Microsoft.AspNetCore.Mvc.RazorPages.Test (24)
PageModelTest.cs (12)
709
Assert.Equal(expected, resultTemporary.
RouteValues
);
728
Assert.Equal(expected, resultTemporary.
RouteValues
);
750
Assert.Equal(expectedRouteValues, result.
RouteValues
);
773
Assert.Equal(expectedRouteValues, result.
RouteValues
);
793
Assert.Equal(expected, resultPermanent.
RouteValues
);
812
Assert.Equal(expected, resultPermanent.
RouteValues
);
834
Assert.Equal(expectedRouteValues, result.
RouteValues
);
857
Assert.Equal(expectedRouteValues, result.
RouteValues
);
1305
Assert.Equal(expected, resultTemporary.
RouteValues
);
1326
Assert.Equal(expected, resultTemporary.
RouteValues
);
1347
Assert.Equal(expected, resultPermanent.
RouteValues
);
1368
Assert.Equal(expected, resultPermanent.
RouteValues
);
PageTest.cs (12)
729
Assert.Equal(expected, resultTemporary.
RouteValues
);
748
Assert.Equal(expected, resultTemporary.
RouteValues
);
770
Assert.Equal(expectedRouteValues, result.
RouteValues
);
793
Assert.Equal(expectedRouteValues, result.
RouteValues
);
813
Assert.Equal(expected, resultPermanent.
RouteValues
);
832
Assert.Equal(expected, resultPermanent.
RouteValues
);
854
Assert.Equal(expectedRouteValues, result.
RouteValues
);
877
Assert.Equal(expectedRouteValues, result.
RouteValues
);
967
Assert.Equal(expected, resultTemporary.
RouteValues
);
988
Assert.Equal(expected, resultTemporary.
RouteValues
);
1009
Assert.Equal(expected, resultPermanent.
RouteValues
);
1030
Assert.Equal(expected, resultPermanent.
RouteValues
);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (3)
ControllerUnitTestabilityTests.cs (3)
484
Assert.Single(redirectToRouteResult.
RouteValues
);
485
Assert.Equal("sample", redirectToRouteResult.
RouteValues
["route"]);
498
Assert.Null(redirectToRouteResult.
RouteValues
);