1 write to ActionName
Microsoft.AspNetCore.Mvc.Core (1)
RedirectToActionResult.cs (1)
123ActionName = actionName;
63 references to ActionName
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\RedirectToActionResultExecutor.cs (1)
42result.ActionName,
Microsoft.AspNetCore.Mvc.Core.Test (20)
ControllerBaseTest.cs (20)
294Assert.Equal("SampleAction", resultTemporary.ActionName); 310Assert.Equal("SampleAction", resultTemporary.ActionName); 326Assert.Equal("SampleAction", resultPermanent.ActionName); 342Assert.Equal("SampleAction", resultPermanent.ActionName); 361Assert.Equal("SampleAction", resultTemporary.ActionName); 381Assert.Equal("SampleAction", resultTemporary.ActionName); 401Assert.Equal("SampleAction", resultPermanent.ActionName); 421Assert.Equal("SampleAction", resultPermanent.ActionName); 441Assert.Equal("SampleAction", resultTemporary.ActionName); 465Assert.Equal("SampleAction", resultTemporary.ActionName); 489Assert.Equal("SampleAction", resultPermanent.ActionName); 513Assert.Equal("SampleAction", resultPermanent.ActionName); 534Assert.Null(resultTemporary.ActionName); 554Assert.Null(resultTemporary.ActionName); 577Assert.Equal(expectedAction, result.ActionName); 602Assert.Equal(expectedAction, result.ActionName); 624Assert.Null(resultPermanent.ActionName); 644Assert.Null(resultPermanent.ActionName); 667Assert.Equal(expectedAction, result.ActionName); 696Assert.Equal(expectedAction, result.ActionName);
Microsoft.AspNetCore.Mvc.RazorPages.Test (40)
PageModelTest.cs (20)
285Assert.Equal("SampleAction", resultTemporary.ActionName); 301Assert.Equal("SampleAction", resultTemporary.ActionName); 317Assert.Equal("SampleAction", resultPermanent.ActionName); 333Assert.Equal("SampleAction", resultPermanent.ActionName); 352Assert.Equal("SampleAction", resultTemporary.ActionName); 372Assert.Equal("SampleAction", resultTemporary.ActionName); 392Assert.Equal("SampleAction", resultPermanent.ActionName); 412Assert.Equal("SampleAction", resultPermanent.ActionName); 432Assert.Equal("SampleAction", resultTemporary.ActionName); 456Assert.Equal("SampleAction", resultTemporary.ActionName); 480Assert.Equal("SampleAction", resultPermanent.ActionName); 504Assert.Equal("SampleAction", resultPermanent.ActionName); 525Assert.Null(resultTemporary.ActionName); 545Assert.Null(resultTemporary.ActionName); 568Assert.Equal(expectedAction, result.ActionName); 593Assert.Equal(expectedAction, result.ActionName); 615Assert.Null(resultPermanent.ActionName); 635Assert.Null(resultPermanent.ActionName); 658Assert.Equal(expectedAction, result.ActionName); 687Assert.Equal(expectedAction, result.ActionName);
PageTest.cs (20)
305Assert.Equal("SampleAction", resultTemporary.ActionName); 321Assert.Equal("SampleAction", resultTemporary.ActionName); 337Assert.Equal("SampleAction", resultPermanent.ActionName); 353Assert.Equal("SampleAction", resultPermanent.ActionName); 372Assert.Equal("SampleAction", resultTemporary.ActionName); 392Assert.Equal("SampleAction", resultTemporary.ActionName); 412Assert.Equal("SampleAction", resultPermanent.ActionName); 432Assert.Equal("SampleAction", resultPermanent.ActionName); 452Assert.Equal("SampleAction", resultTemporary.ActionName); 476Assert.Equal("SampleAction", resultTemporary.ActionName); 500Assert.Equal("SampleAction", resultPermanent.ActionName); 524Assert.Equal("SampleAction", resultPermanent.ActionName); 545Assert.Null(resultTemporary.ActionName); 565Assert.Null(resultTemporary.ActionName); 588Assert.Equal(expectedAction, result.ActionName); 613Assert.Equal(expectedAction, result.ActionName); 635Assert.Null(resultPermanent.ActionName); 655Assert.Null(resultPermanent.ActionName); 678Assert.Equal(expectedAction, result.ActionName); 707Assert.Equal(expectedAction, result.ActionName);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ControllerUnitTestabilityTests.cs (2)
517Assert.Equal(actionName, redirectToActionResult.ActionName); 533Assert.Null(redirectToActionResult.ActionName);