7 writes to ActionName
ApiExplorerWebSite (1)
ApiExplorerRouteChangeConvention.cs (1)
21action.ActionName = "NewIndex";
ApplicationModelWebSite (2)
Controllers\ActionModelController.cs (1)
36model.ActionName = _actionName;
Conventions\CloneActionConvention.cs (1)
21ActionName = actionName
Microsoft.AspNetCore.Mvc.Core (3)
ApplicationModels\ActionModel.cs (1)
52ActionName = other.ActionName;
ApplicationModels\DefaultApplicationModelProvider.cs (2)
276actionModel.ActionName = actionName.Name; 280actionModel.ActionName = CanonicalizeActionName(methodInfo.Name);
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\ActionModelTest.cs (1)
71action.ActionName = "Edit";
22 references to ActionName
ApiExplorerWebSite (2)
ApiExplorerInboundOutboundConvention.cs (2)
30if (action.ActionName == nameof(ApiExplorerInboundOutBoundController.SuppressedForPathMatching)) 34else if (action.ActionName == nameof(ApiExplorerInboundOutBoundController.SuppressedForLinkGeneration))
Microsoft.AspNetCore.Mvc.Core (6)
ApplicationModels\ActionModel.cs (3)
52ActionName = other.ActionName; 130/// The value of <see cref="ActionName"/> is considered an implicit route value corresponding 155string ICommonModel.Name => ActionName;
ApplicationModels\ApplicationModelFactory.cs (1)
133{ "action", action.ActionName },
ApplicationModels\ControllerActionDescriptorBuilder.cs (2)
34ActionName = action.ActionName, 243actionDescriptor.RouteValues.Add("action", action.ActionName ?? string.Empty);
Microsoft.AspNetCore.Mvc.Core.Test (9)
ApplicationModels\AuthorizationApplicationModelProviderTest.cs (1)
91Assert.Equal("Authorize", action.ActionName);
ApplicationModels\ConsumesConstraintForFormFileParameterConventionTest.cs (1)
73return Assert.Single(controller.Actions, m => m.ActionName == actionName);
ApplicationModels\DefaultApplicationModelProviderTest.cs (5)
272var action = Assert.Single(controllerModel.Actions, a => a.ActionName == nameof(ModelBinderController.PostAction1)); 300var action = Assert.Single(controllerModel.Actions, a => a.ActionName == nameof(ModelBinderController.PostAction2)); 327Assert.Equal("GetPerson", action.ActionName); 347Assert.Equal(nameof(AsyncActionController.GetPersonAsync), action.ActionName); 367Assert.Equal("GetRealAddressAsync", action.ActionName);
ApplicationModels\InferParameterBindingInfoConventionTest.cs (2)
519var actionModel = Assert.Single(controllerModel.Actions, m => m.ActionName == actionName); 928return Assert.Single(controller.Actions, m => m.ActionName == actionName);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
Filters\AntiforgeryApplicationModelProviderTest.cs (5)
30Assert.Equal(nameof(TestController.WithAntiforgeryMetadata), model.ActionName); 35Assert.Equal(nameof(TestController.WithMvcAttribute), model.ActionName); 40Assert.Equal(nameof(TestController.NoAttributes), model.ActionName); 115Assert.Equal(nameof(AntiforgeryMetadataWithActionsController.Post), model.ActionName); 120Assert.Equal(nameof(AntiforgeryMetadataWithActionsController.Post2), model.ActionName);