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