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