6 writes to ParameterDescriptor
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\GrpcJsonTranscodingDescriptionProvider.cs (1)
142ParameterDescriptor = parameterDescriptor!
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (1)
664ParameterDescriptor = Parameter,
EndpointMetadataApiDescriptionProvider.cs (1)
196ParameterDescriptor = parameterDescriptor,
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (3)
DefaultApiDescriptionProviderTest.cs (3)
2152ParameterDescriptor = new ControllerParameterDescriptor 2175ParameterDescriptor = new ControllerParameterDescriptor 2198ParameterDescriptor = new ControllerParameterDescriptor
12 references to ParameterDescriptor
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
335if (parameter.ParameterDescriptor is ControllerParameterDescriptor controllerParameter &&
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (6)
DefaultApiDescriptionProviderTest.cs (1)
314Assert.Equal(actionParameterDescriptor, parameterDescription.ParameterDescriptor);
EndpointMetadataApiDescriptionProviderTest.cs (5)
815Assert.NotNull(nameParam.ParameterDescriptor); 816Assert.Equal("name", nameParam.ParameterDescriptor.Name); 817Assert.Equal(typeof(string), nameParam.ParameterDescriptor.ParameterType); 819var descriptor = Assert.IsAssignableFrom<IParameterInfoParameterDescriptor>(nameParam.ParameterDescriptor); 1513Assert.Equal(expectedName, parameter.ParameterDescriptor.Name);
Microsoft.AspNetCore.OpenApi (5)
Extensions\JsonNodeSchemaExtensions.cs (1)
311if (parameterDescription.ParameterDescriptor is IParameterInfoParameterDescriptor { ParameterInfo: { } parameterInfo })
Services\OpenApiDocumentService.cs (3)
446var hasRequiredAttribute = parameter.ParameterDescriptor is IParameterInfoParameterDescriptor parameterInfoDescriptor && 455parameter.ParameterDescriptor is IParameterInfoParameterDescriptor { ParameterInfo: { } parameterInfo } && 512var groupedFormParameters = formParameters.GroupBy(parameter => parameter.ParameterDescriptor.Name);
Services\Schemas\OpenApiSchemaService.cs (1)
131var key = parameterDescription?.ParameterDescriptor is IParameterInfoParameterDescriptor parameterInfoDescription