36 writes to Parameters
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (9)
Logging\IncomingHttpRouteUtilityTests.cs (9)
31controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length); 69controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length); 109controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length); 151controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length); 193controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length); 240controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length); 281controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length); 329controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length); 374controllerActionDescriptor.Parameters = new List<ParameterDescriptor>(parametersInfo.Length);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2330action.Parameters = new List<ParameterDescriptor>();
Microsoft.AspNetCore.Mvc.Core (1)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
71actionDescriptor.Parameters = parameterDescriptors;
Microsoft.AspNetCore.Mvc.Core.Test (18)
Controllers\ControllerBinderDelegateProviderTest.cs (3)
1131Parameters = parameters 1208Parameters = new[] { new ParameterDescriptor { Name = "name", ParameterType = typeof(string) } }, 1276Parameters = new List<ParameterDescriptor>()
Filters\MiddlewareFilterTest.cs (1)
238Parameters = new List<ParameterDescriptor>(),
Infrastructure\ActionSelectorTest.cs (5)
529Parameters = new List<ParameterDescriptor>(), 534Parameters = new List<ParameterDescriptor>(), 632Parameters = new List<ParameterDescriptor>(), 688Parameters = new List<ParameterDescriptor>(), 1124Parameters = new List<ParameterDescriptor>(),
Infrastructure\ControllerActionInvokerCacheTest.cs (1)
119Parameters = new List<ParameterDescriptor>(),
Infrastructure\ControllerActionInvokerTest.cs (8)
36Parameters = new List<ParameterDescriptor>(), 77Parameters = new List<ParameterDescriptor>(), 108Parameters = new List<ParameterDescriptor>(), 151Parameters = new List<ParameterDescriptor>(), 1391Parameters = new List<ParameterDescriptor> 1559Parameters = new List<ParameterDescriptor>(), 1609Parameters = new List<ParameterDescriptor>(), 1651Parameters = new List<ParameterDescriptor>(),
Microsoft.AspNetCore.Mvc.IntegrationTests (4)
ValidationIntegrationTests.cs (2)
90Parameters = parameters 132Parameters = parameters
ValidationWithRecordIntegrationTests.cs (2)
82Parameters = parameters 124Parameters = parameters
Microsoft.AspNetCore.Mvc.Test (2)
Routing\ActionConstraintMatcherPolicyTest.cs (2)
50Parameters = new List<ParameterDescriptor>(), 55Parameters = new List<ParameterDescriptor>(),
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
237action.Parameters = [];
64 references to Parameters
ApplicationModelWebSite (1)
Controllers\ParameterModelController.cs (1)
18return ControllerContext.ActionDescriptor.Parameters[0].BindingInfo.BinderModelName;
FormatterWebSite (1)
ValidateBodyParameterAttribute.cs (1)
18.Parameters
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Logging\IncomingHttpRouteUtility.cs (1)
43var parameters = endpoint?.Metadata.GetMetadata<ControllerActionDescriptor>()?.Parameters;
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (9)
Logging\IncomingHttpRouteUtilityTests.cs (9)
38controllerActionDescriptor.Parameters.Add(parameter); 76controllerActionDescriptor.Parameters.Add(parameter); 116controllerActionDescriptor.Parameters.Add(parameter); 158controllerActionDescriptor.Parameters.Add(parameter); 200controllerActionDescriptor.Parameters.Add(parameter); 247controllerActionDescriptor.Parameters.Add(parameter); 288controllerActionDescriptor.Parameters.Add(parameter); 336controllerActionDescriptor.Parameters.Add(parameter); 381controllerActionDescriptor.Parameters.Add(parameter);
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (2)
165if (context.ActionDescriptor.Parameters != null) 167foreach (var actionParameter in context.ActionDescriptor.Parameters)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (21)
DefaultApiDescriptionProviderTest.cs (21)
257action.Parameters[0].BindingInfo = new BindingInfo() 286action.Parameters[0].BindingInfo = new BindingInfo() 313var actionParameterDescriptor = Assert.Single(action.Parameters); 1544var parameterDescriptor = action.Parameters.Single(); 1575var parameterDescriptor = action.Parameters.Single(); 1594var parameterDescriptor = action.Parameters.Single(); 1613var parameterDescriptor = action.Parameters.Single(); 1632var parameterDescriptor = action.Parameters.Single(); 1651var parameterDescriptor = action.Parameters.Single(); 1670var parameterDescriptor = action.Parameters.Single(); 1689var parameterDescriptor = action.Parameters.Single(); 1708var parameterDescriptor = action.Parameters.Single(); 1732var parameterDescriptor = action.Parameters.Single(); 1763var parameterDescriptor = action.Parameters.Single(); 1795var parameterDescriptor = action.Parameters.Single(); 1826var parameterDescriptor = action.Parameters.Single(); 1854var parameterDescriptor = action.Parameters.Single(); 1941var parameterDescriptor = action.Parameters.Single(); 1966var parameterDescriptor = action.Parameters.Single(); 1988var parameterDescriptor = action.Parameters.Single(); 2333action.Parameters.Add(new ControllerParameterDescriptor()
Microsoft.AspNetCore.Mvc.Core (4)
Controllers\ControllerBinderDelegateProvider.cs (3)
38var parameters = actionDescriptor.Parameters switch 41_ => actionDescriptor.Parameters.ToArray() 121var parameters = actionDescriptor.Parameters;
Infrastructure\ControllerActionInvoker.cs (1)
518actionDescriptor.Parameters.Count == 0)
Microsoft.AspNetCore.Mvc.Core.Test (24)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (13)
126Assert.NotNull(main.Parameters); 127var id = Assert.Single(main.Parameters); 145Assert.NotNull(main.Parameters); 146var id = Assert.Single(main.Parameters, p => p.Name == "id"); 152var entity = Assert.Single(main.Parameters, p => p.Name == "entity"); 170Assert.NotNull(main.Parameters); 171var id = Assert.Single(main.Parameters, p => p.Name == "id"); 177var upperCaseId = Assert.Single(main.Parameters, p => p.Name == "ID"); 183var pascalCaseId = Assert.Single(main.Parameters, p => p.Name == "Id"); 203Assert.NotNull(fromBody.Parameters); 204var entity = Assert.Single(fromBody.Parameters); 224Assert.NotNull(notFromBody.Parameters); 225var entity = Assert.Single(notFromBody.Parameters);
Controllers\ControllerBinderDelegateProviderTest.cs (10)
33actionDescriptor.Parameters.Add( 144actionDescriptor.Parameters.Add( 186actionDescriptor.Parameters.Add( 228actionDescriptor.Parameters.Add( 279actionDescriptor.Parameters.Add( 329actionDescriptor.Parameters.Add( 377actionDescriptor.Parameters.Add( 427actionDescriptor.Parameters.Add( 781actionDescriptor.Parameters.Add(new ParameterDescriptor 844actionDescriptor.Parameters.Add(new ParameterDescriptor
Infrastructure\ControllerActionInvokerTest.cs (1)
1661actionDescriptor.Parameters.Add(new ControllerParameterDescriptor()
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
240action.Parameters.Add(new ControllerParameterDescriptor()