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