3 writes to TypeAttributes
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Metadata\ModelAttributes.cs (3)
53TypeAttributes = typeAttributes.ToArray(); 62TypeAttributes = typeAttributes.ToArray(); 67Attributes = TypeAttributes = typeAttributes.ToArray();
8 references to TypeAttributes
Microsoft.AspNetCore.Mvc.Core (8)
ModelBinding\Metadata\BindingMetadataProviderContext.cs (1)
28TypeAttributes = attributes.TypeAttributes;
ModelBinding\Metadata\DisplayMetadataProviderContext.cs (1)
27TypeAttributes = attributes.TypeAttributes;
ModelBinding\Metadata\ModelAttributes.cs (5)
54Attributes = PropertyAttributes.Concat(TypeAttributes).ToArray(); 63Attributes = ParameterAttributes.Concat(TypeAttributes).ToArray(); 97/// <see cref="TypeAttributes"/> contains attributes retrieved from <see cref="PropertyInfo.PropertyType"/>. 185var typeAttributes = GetAttributesForType(parameterInfo.ParameterType).TypeAttributes!; 209var typeAttributes = GetAttributesForType(modelType).TypeAttributes!;
ModelBinding\Metadata\ValidationMetadataProviderContext.cs (1)
28TypeAttributes = attributes.TypeAttributes;