3 implementations of IParameterInfoParameterDescriptor
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
EndpointParameterDescriptor.cs (1)
10internal sealed class EndpointParameterDescriptor : ParameterDescriptor, IParameterInfoParameterDescriptor
Microsoft.AspNetCore.Mvc.Core (1)
Controllers\ControllerParameterDescriptor.cs (1)
13public class ControllerParameterDescriptor : ParameterDescriptor, IParameterInfoParameterDescriptor
Microsoft.AspNetCore.Mvc.RazorPages (1)
Infrastructure\HandlerParameterDescriptor.cs (1)
13public class HandlerParameterDescriptor : ParameterDescriptor, IParameterInfoParameterDescriptor
7 references to IParameterInfoParameterDescriptor
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
EndpointMetadataApiDescriptionProviderTest.cs (2)
819var descriptor = Assert.IsAssignableFrom<IParameterInfoParameterDescriptor>(nameParam.ParameterDescriptor);
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ParameterBinder.cs (1)
249if (parameter is IParameterInfoParameterDescriptor parameterInfoParameter)
Microsoft.AspNetCore.OpenApi (4)
Extensions\JsonNodeSchemaExtensions.cs (1)
296if (parameterDescription.ParameterDescriptor is IParameterInfoParameterDescriptor { ParameterInfo: { } parameterInfo })
Services\OpenApiDocumentService.cs (2)
446var hasRequiredAttribute = parameter.ParameterDescriptor is IParameterInfoParameterDescriptor parameterInfoDescriptor && 455parameter.ParameterDescriptor is IParameterInfoParameterDescriptor { ParameterInfo: { } parameterInfo } &&
Services\Schemas\OpenApiSchemaService.cs (1)
131var key = parameterDescription?.ParameterDescriptor is IParameterInfoParameterDescriptor parameterInfoDescription