1 write to ModelAttributes
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Metadata\DefaultMetadataDetails.cs (1)
26ModelAttributes = attributes;
7 references to ModelAttributes
Microsoft.AspNetCore.Mvc.Core (4)
ModelBinding\Metadata\DefaultModelMetadata.cs (4)
79public ModelAttributes Attributes => _details.ModelAttributes; 96var context = new BindingMetadataProviderContext(Identity, _details.ModelAttributes); 122var context = new DisplayMetadataProviderContext(Identity, _details.ModelAttributes); 143var context = new ValidationMetadataProviderContext(Identity, _details.ModelAttributes);
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (3)
ModelMetadataProviderTest.cs (3)
1067_attributes.Concat(entry.ModelAttributes.TypeAttributes).ToArray(), 1083e.ModelAttributes.TypeAttributes, 1084_attributes.Concat(e.ModelAttributes.PropertyAttributes),