1 write to PropertyAttributes
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\ModelAttributes.cs (1)
52
PropertyAttributes
= propertyAttributes.ToArray();
8 references to PropertyAttributes
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Metadata\BindingMetadataProviderContext.cs (1)
27
PropertyAttributes = attributes.
PropertyAttributes
;
ModelBinding\Metadata\DisplayMetadataProviderContext.cs (1)
26
PropertyAttributes = attributes.
PropertyAttributes
;
ModelBinding\Metadata\ModelAttributes.cs (1)
54
Attributes =
PropertyAttributes
.Concat(TypeAttributes).ToArray();
ModelBinding\Metadata\ValidationMetadataProviderContext.cs (1)
27
PropertyAttributes = attributes.
PropertyAttributes
;
Microsoft.AspNetCore.OpenApi (4)
Extensions\JsonNodeSchemaExtensions.cs (2)
330
if (parameterDescription.ModelMetadata is Mvc.ModelBinding.Metadata.DefaultModelMetadata { Attributes.
PropertyAttributes
.Count: > 0 } metadata &&
331
metadata.Attributes.
PropertyAttributes
.OfType<DefaultValueAttribute>().LastOrDefault() is { } metadataDefaultValueAttribute)
Services\OpenApiDocumentService.cs (2)
559
if (parameter.ModelMetadata is Mvc.ModelBinding.Metadata.DefaultModelMetadata { Attributes.
PropertyAttributes
.Count: > 0 } metadata &&
560
metadata.Attributes.
PropertyAttributes
.OfType<DescriptionAttribute>().LastOrDefault() is { } propertyDescription)