2 instantiations of RedirectToRouteHttpResult
Microsoft.AspNetCore.Http.Results (2)
29 references to RedirectToRouteHttpResult
Microsoft.AspNetCore.Http.Results (10)
Microsoft.AspNetCore.Http.Results.Tests (19)
RedirectToRouteResultTests.cs (5)
21var result = new RedirectToRouteHttpResult(null, new Dictionary<string, object>());
41var result = new RedirectToRouteHttpResult(routeName, new { id = 10 });
59var result = new RedirectToRouteHttpResult("Sample", null, true, "test");
77var result = new RedirectToRouteHttpResult("Sample", null, true, true, "test");
91var result = new RedirectToRouteHttpResult(null);
ResultsTests.cs (10)
1526var result = Results.RedirectToRoute(routeName, routeValues, true, true, fragment) as RedirectToRouteHttpResult;
1545var result = Results.RedirectToRoute(routeName, routeValues, true, true, fragment) as RedirectToRouteHttpResult;
1559var result = Results.RedirectToRoute() as RedirectToRouteHttpResult;
1570var result = Results.RedirectToRoute(null, null) as RedirectToRouteHttpResult;
1772(() => Results.RedirectToRoute("routeName", (object)null, false, false, null), typeof(RedirectToRouteHttpResult)),
1773(() => Results.RedirectToRoute("routeName", null, false, false, null), typeof(RedirectToRouteHttpResult)),