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)
653Assert.NotNull(descriptor.ParameterInfo); 655var 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)
293if (parameterDescription.ParameterDescriptor is IParameterInfoParameterDescriptor { ParameterInfo: { } parameterInfo })
Services\OpenApiDocumentService.cs (2)
285parameterInfoDescriptor.ParameterInfo.GetCustomAttributes(inherit: true).Any(attr => attr is RequiredAttribute); 293parameter.ParameterDescriptor is IParameterInfoParameterDescriptor { ParameterInfo: { } parameterInfo } &&
Services\Schemas\OpenApiSchemaService.cs (1)
127? new OpenApiSchemaKey(type, parameterInfoDescription.ParameterInfo) : new OpenApiSchemaKey(type, null);