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