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