3 instantiations of EndpointModelMetadata
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
EndpointMetadataApiDescriptionProvider.cs (3)
437
new
(ModelMetadataIdentity.ForType(type));
445
return
new
(ModelMetadataIdentity.ForProperty(propertyInfo, type, propertyInfo.DeclaringType));
447
return
new
(ModelMetadataIdentity.ForParameter(parameterInfo, type));
4 references to EndpointModelMetadata
Microsoft.AspNetCore.Mvc.ApiExplorer (4)
DefaultApiDescriptionProvider.cs (1)
674
return
EndpointModelMetadata
.GetDisplayType(metadata.ModelType);
EndpointMetadataApiDescriptionProvider.cs (3)
291
var displayType =
EndpointModelMetadata
.GetDisplayType(parameterType);
436
private static
EndpointModelMetadata
CreateModelMetadata(Type type) =>
439
private static
EndpointModelMetadata
CreateModelMetadata(IParameterBindingMetadata parameter, Type type)