1 write to RouteName
Microsoft.AspNetCore.Mvc.Core (1)
RedirectToRouteResult.cs (1)
121
RouteName
= routeName;
40 references to RouteName
Microsoft.AspNetCore.Mvc.Core (2)
Infrastructure\RedirectToRouteResultExecutor.cs (2)
39
result.
RouteName
,
49
Log.RedirectToRouteResultExecuting(_logger, destinationUrl, result.
RouteName
);
Microsoft.AspNetCore.Mvc.Core.Test (12)
ControllerBaseTest.cs (12)
758
Assert.Equal(expectedRoute, result.
RouteName
);
781
Assert.Equal(expectedRoute, result.
RouteName
);
842
Assert.Equal(expectedRoute, result.
RouteName
);
865
Assert.Equal(expectedRoute, result.
RouteName
);
884
Assert.Same(routeName, resultTemporary.
RouteName
);
901
Assert.Same(routeName, resultTemporary.
RouteName
);
918
Assert.Same(routeName, resultPermanent.
RouteName
);
935
Assert.Same(routeName, resultPermanent.
RouteName
);
955
Assert.Same(routeName, resultTemporary.
RouteName
);
976
Assert.Same(routeName, resultTemporary.
RouteName
);
997
Assert.Same(routeName, resultPermanent.
RouteName
);
1284
Assert.Same(routeName, resultPermanent.
RouteName
);
Microsoft.AspNetCore.Mvc.RazorPages.Test (24)
PageModelTest.cs (12)
749
Assert.Equal(expectedRoute, result.
RouteName
);
772
Assert.Equal(expectedRoute, result.
RouteName
);
833
Assert.Equal(expectedRoute, result.
RouteName
);
856
Assert.Equal(expectedRoute, result.
RouteName
);
875
Assert.Same(routeName, resultTemporary.
RouteName
);
892
Assert.Same(routeName, resultTemporary.
RouteName
);
909
Assert.Same(routeName, resultPermanent.
RouteName
);
926
Assert.Same(routeName, resultPermanent.
RouteName
);
1304
Assert.Same(routeName, resultTemporary.
RouteName
);
1325
Assert.Same(routeName, resultTemporary.
RouteName
);
1346
Assert.Same(routeName, resultPermanent.
RouteName
);
1367
Assert.Same(routeName, resultPermanent.
RouteName
);
PageTest.cs (12)
769
Assert.Equal(expectedRoute, result.
RouteName
);
792
Assert.Equal(expectedRoute, result.
RouteName
);
853
Assert.Equal(expectedRoute, result.
RouteName
);
876
Assert.Equal(expectedRoute, result.
RouteName
);
895
Assert.Same(routeName, resultTemporary.
RouteName
);
912
Assert.Same(routeName, resultTemporary.
RouteName
);
929
Assert.Same(routeName, resultPermanent.
RouteName
);
946
Assert.Same(routeName, resultPermanent.
RouteName
);
966
Assert.Same(routeName, resultTemporary.
RouteName
);
987
Assert.Same(routeName, resultTemporary.
RouteName
);
1008
Assert.Same(routeName, resultPermanent.
RouteName
);
1029
Assert.Same(routeName, resultPermanent.
RouteName
);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ControllerUnitTestabilityTests.cs (2)
483
Assert.Equal(routeName, redirectToRouteResult.
RouteName
);
497
Assert.Null(redirectToRouteResult.
RouteName
);