12 instantiations of RedirectToActionResult
Microsoft.AspNetCore.Mvc.Core (4)
ControllerBase.cs (4)
542return new RedirectToActionResult(actionName, controllerName, routeValues, fragment) 566return new RedirectToActionResult( 661return new RedirectToActionResult( 690return new RedirectToActionResult(
Microsoft.AspNetCore.Mvc.RazorPages (8)
PageBase.cs (4)
606=> new RedirectToActionResult(actionName, controllerName, routeValues, fragment); 625return new RedirectToActionResult( 721return new RedirectToActionResult( 746return new RedirectToActionResult(
PageModel.cs (4)
936return new RedirectToActionResult(actionName, controllerName, routeValues, fragment) 959return new RedirectToActionResult( 1048return new RedirectToActionResult( 1076return new RedirectToActionResult(
128 references to RedirectToActionResult
Microsoft.AspNetCore.Mvc.Core (52)
ControllerBase.cs (40)
441/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 462public virtual RedirectToActionResult RedirectToAction() 469/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 471public virtual RedirectToActionResult RedirectToAction(string? actionName) 480/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 482public virtual RedirectToActionResult RedirectToAction(string? actionName, object? routeValues) 491/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 493public virtual RedirectToActionResult RedirectToAction(string? actionName, string? controllerName) 503/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 505public virtual RedirectToActionResult RedirectToAction( 518/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 520public virtual RedirectToActionResult RedirectToAction( 534/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 536public virtual RedirectToActionResult RedirectToAction( 550/// <see cref="RedirectToActionResult.Permanent"/> set to false and <see cref="RedirectToActionResult.PreserveMethod"/> 558/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 560public virtual RedirectToActionResult RedirectToActionPreserveMethod( 580/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>. 583/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 585public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName) 590/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/> 595/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 597public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName, object? routeValues) 602/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/> 607/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 609public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName, string? controllerName) 614/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 620/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 622public virtual RedirectToActionResult RedirectToActionPermanent( 630/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 636/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 638public virtual RedirectToActionResult RedirectToActionPermanent( 646/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 653/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 655public virtual RedirectToActionResult RedirectToActionPermanent( 674/// <see cref="RedirectToActionResult.Permanent"/> set to true and <see cref="RedirectToActionResult.PreserveMethod"/> 682/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 684public virtual RedirectToActionResult RedirectToActionPermanentPreserveMethod(
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
242services.TryAddSingleton<IActionResultExecutor<RedirectToActionResult>, RedirectToActionResultExecutor>();
Infrastructure\RedirectToActionResultExecutor.cs (4)
12/// A <see cref="IActionResultExecutor{RedirectToActionResult}"/> for <see cref="RedirectToActionResult"/>. 14public partial class RedirectToActionResultExecutor : IActionResultExecutor<RedirectToActionResult> 29_logger = loggerFactory.CreateLogger<RedirectToActionResult>(); 34public virtual Task ExecuteAsync(ActionContext context, RedirectToActionResult result)
RedirectToActionResult.cs (7)
19/// Initializes a new instance of the <see cref="RedirectToActionResult"/> with the values 34/// Initializes a new instance of the <see cref="RedirectToActionResult"/> with the values 51/// Initializes a new instance of the <see cref="RedirectToActionResult"/> with the values 68/// Initializes a new instance of the <see cref="RedirectToActionResult"/> with the values 87/// Initializes a new instance of the <see cref="RedirectToActionResult"/> with the values 106/// Initializes a new instance of the <see cref="RedirectToActionResult"/> with the values 171var executor = context.HttpContext.RequestServices.GetRequiredService<IActionResultExecutor<RedirectToActionResult>>();
Microsoft.AspNetCore.Mvc.RazorPages (76)
PageBase.cs (38)
540/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 541public virtual RedirectToActionResult RedirectToAction(string? actionName) 550/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 551public virtual RedirectToActionResult RedirectToAction(string? actionName, object? routeValues) 560/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 561public virtual RedirectToActionResult RedirectToAction(string? actionName, string? controllerName) 571/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 572public virtual RedirectToActionResult RedirectToAction( 585/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 586public virtual RedirectToActionResult RedirectToAction( 600/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 601public virtual RedirectToActionResult RedirectToAction( 610/// <see cref="RedirectToActionResult.Permanent"/> set to false and <see cref="RedirectToActionResult.PreserveMethod"/> 618/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 619public virtual RedirectToActionResult RedirectToActionPreserveMethod( 636/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>. 639/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 640public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName) 647/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/> 652/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 653public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName, object? routeValues) 660/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/> 665/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 666public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName, string? controllerName) 673/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 679/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 680public virtual RedirectToActionResult RedirectToActionPermanent( 690/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 696/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 697public virtual RedirectToActionResult RedirectToActionPermanent( 707/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 714/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 715public virtual RedirectToActionResult RedirectToActionPermanent( 731/// <see cref="RedirectToActionResult.Permanent"/> set to true and <see cref="RedirectToActionResult.PreserveMethod"/> 739/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 740public virtual RedirectToActionResult RedirectToActionPermanentPreserveMethod(
PageModel.cs (38)
869/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 870public virtual RedirectToActionResult RedirectToAction(string? actionName) 879/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 880public virtual RedirectToActionResult RedirectToAction(string? actionName, object? routeValues) 889/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 890public virtual RedirectToActionResult RedirectToAction(string? actionName, string? controllerName) 900/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 901public virtual RedirectToActionResult RedirectToAction( 914/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 915public virtual RedirectToActionResult RedirectToAction( 929/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 930public virtual RedirectToActionResult RedirectToAction( 944/// <see cref="RedirectToActionResult.Permanent"/> set to false and <see cref="RedirectToActionResult.PreserveMethod"/> 952/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 953public virtual RedirectToActionResult RedirectToActionPreserveMethod( 973/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>. 976/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 977public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName) 982/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/> 987/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 988public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName, object? routeValues) 993/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/> 998/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 999public virtual RedirectToActionResult RedirectToActionPermanent(string? actionName, string? controllerName) 1004/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 1010/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 1011public virtual RedirectToActionResult RedirectToActionPermanent( 1019/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 1025/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 1026public virtual RedirectToActionResult RedirectToActionPermanent( 1034/// <see cref="RedirectToActionResult.Permanent"/> set to true using the specified <paramref name="actionName"/>, 1041/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 1042public virtual RedirectToActionResult RedirectToActionPermanent( 1061/// <see cref="RedirectToActionResult.Permanent"/> set to true and <see cref="RedirectToActionResult.PreserveMethod"/> 1069/// <returns>The created <see cref="RedirectToActionResult"/> for the response.</returns> 1070public virtual RedirectToActionResult RedirectToActionPermanentPreserveMethod(