10 writes to Action
Microsoft.AspNetCore.Mvc.Core (3)
ApplicationModels\ActionModel.cs (1)
66Parameters = new List<ParameterModel>(other.Parameters.Select(p => new ParameterModel(p) { Action = this }));
ApplicationModels\DefaultApplicationModelProvider.cs (1)
89parameterModel.Action = actionModel;
ApplicationModels\ParameterModel.cs (1)
38Action = other.Action;
Microsoft.AspNetCore.Mvc.Core.Test (7)
ApplicationModels\ActionModelTest.cs (1)
24parameter.Action = action;
ApplicationModels\ApiBehaviorApplicationModelProviderTest.cs (2)
61Action = actionModel, 104Action = actionModel,
ApplicationModels\ControllerActionDescriptorProviderTests.cs (1)
1168parameterModel.Action = actionModel;
ApplicationModels\ParameterModelTest.cs (1)
18parameter.Action = new ActionModel(typeof(TestController).GetMethod("Edit"), new List<object>());
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (2)
319Action = actionModel 352Action = actionModel
9 references to Action
ApplicationModelWebSite (1)
Conventions\FromHeaderConvention.cs (1)
17param.Action.Properties["source"] = "From Header";
Microsoft.AspNetCore.Mvc.Core (2)
ApplicationModels\InferParameterBindingInfoConvention.cs (1)
126if (ParameterExistsInAnyRoute(parameter.Action, parameter.ParameterName))
ApplicationModels\ParameterModel.cs (1)
38Action = other.Action;
Microsoft.AspNetCore.Mvc.Core.Test (6)
ApplicationModels\ActionModelTest.cs (2)
52Assert.NotSame(action, action2.Parameters[0].Action); 53Assert.Same(action2, action2.Parameters[0].Action);
ApplicationModels\DefaultApplicationModelProviderTest.cs (3)
187Assert.Same(action, parameter.Action); 196Assert.Same(action, parameter.Action); 204Assert.Same(action, parameter.Action);
DependencyInjection\ApplicationModelConventionExtensionsTest.cs (1)
491parameter.Action.Parameters.Remove(parameter);