3 implementations of ParameterInfo
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointParameterDescriptor.cs (1)
12public ParameterInfo ParameterInfo { get; set; } = default!;
Microsoft.AspNetCore.Mvc.Core (1)
Controllers\ControllerParameterDescriptor.cs (1)
18public ParameterInfo ParameterInfo { get; set; } = default!;
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\HandlerParameterDescriptor.cs (1)
18public ParameterInfo ParameterInfo { get; set; } = default!;
7 references to ParameterInfo
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
EndpointMetadataApiDescriptionProviderTest.cs (2)
821Assert.NotNull(descriptor.ParameterInfo); 823var description = Assert.Single(descriptor.ParameterInfo.GetCustomAttributes<DescriptionAttribute>());
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ParameterBinder.cs (1)
251var parameterInfo = parameterInfoParameter.ParameterInfo;
Microsoft.AspNetCore.OpenApi (4)
Extensions\JsonNodeSchemaExtensions.cs (1)
311if (parameterDescription.ParameterDescriptor is IParameterInfoParameterDescriptor { ParameterInfo: { } parameterInfo })
Services\OpenApiDocumentService.cs (2)
447parameterInfoDescriptor.ParameterInfo.GetCustomAttributes(inherit: true).Any(attr => attr is RequiredAttribute); 455parameter.ParameterDescriptor is IParameterInfoParameterDescriptor { ParameterInfo: { } parameterInfo } &&
Services\Schemas\OpenApiSchemaService.cs (1)
133? new OpenApiSchemaKey(type, parameterInfoDescription.ParameterInfo) : new OpenApiSchemaKey(type, null);