1 write to ControllerName
Microsoft.AspNetCore.Mvc.Core (1)
RedirectToActionResult.cs (1)
124ControllerName = controllerName;
39 references to ControllerName
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\RedirectToActionResultExecutor.cs (1)
43result.ControllerName,
Microsoft.AspNetCore.Mvc.Core.Test (12)
ControllerBaseTest.cs (12)
362Assert.Equal(controllerName, resultTemporary.ControllerName); 382Assert.Equal(controllerName, resultTemporary.ControllerName); 402Assert.Equal(controllerName, resultPermanent.ControllerName); 422Assert.Equal(controllerName, resultPermanent.ControllerName); 442Assert.Equal("SampleController", resultTemporary.ControllerName); 466Assert.Equal("SampleController", resultTemporary.ControllerName); 490Assert.Equal("SampleController", resultPermanent.ControllerName); 514Assert.Equal("SampleController", resultPermanent.ControllerName); 579Assert.Equal(expectedController, result.ControllerName); 604Assert.Equal(expectedController, result.ControllerName); 669Assert.Equal(expectedController, result.ControllerName); 698Assert.Equal(expectedController, result.ControllerName);
Microsoft.AspNetCore.Mvc.RazorPages.Test (24)
PageModelTest.cs (12)
353Assert.Equal(controllerName, resultTemporary.ControllerName); 373Assert.Equal(controllerName, resultTemporary.ControllerName); 393Assert.Equal(controllerName, resultPermanent.ControllerName); 413Assert.Equal(controllerName, resultPermanent.ControllerName); 433Assert.Equal("SampleController", resultTemporary.ControllerName); 457Assert.Equal("SampleController", resultTemporary.ControllerName); 481Assert.Equal("SampleController", resultPermanent.ControllerName); 505Assert.Equal("SampleController", resultPermanent.ControllerName); 570Assert.Equal(expectedController, result.ControllerName); 595Assert.Equal(expectedController, result.ControllerName); 660Assert.Equal(expectedController, result.ControllerName); 689Assert.Equal(expectedController, result.ControllerName);
PageTest.cs (12)
373Assert.Equal(controllerName, resultTemporary.ControllerName); 393Assert.Equal(controllerName, resultTemporary.ControllerName); 413Assert.Equal(controllerName, resultPermanent.ControllerName); 433Assert.Equal(controllerName, resultPermanent.ControllerName); 453Assert.Equal("SampleController", resultTemporary.ControllerName); 477Assert.Equal("SampleController", resultTemporary.ControllerName); 501Assert.Equal("SampleController", resultPermanent.ControllerName); 525Assert.Equal("SampleController", resultPermanent.ControllerName); 590Assert.Equal(expectedController, result.ControllerName); 615Assert.Equal(expectedController, result.ControllerName); 680Assert.Equal(expectedController, result.ControllerName); 709Assert.Equal(expectedController, result.ControllerName);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (2)
ControllerUnitTestabilityTests.cs (2)
518Assert.Equal(controllerName, redirectToActionResult.ControllerName); 532Assert.Null(redirectToActionResult.ControllerName);