5 references to GetAttributesForType
Microsoft.AspNetCore.Mvc.Core (3)
ModelBinding\Metadata\DefaultModelMetadataProvider.cs (1)
399ModelAttributes.GetAttributesForType(key.ModelType));
ModelBinding\Metadata\ModelAttributes.cs (2)
185var typeAttributes = GetAttributesForType(parameterInfo.ParameterType).TypeAttributes!; 209var typeAttributes = GetAttributesForType(modelType).TypeAttributes!;
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\Metadata\ModelAttributesTest.cs (2)
137var attributes = ModelAttributes.GetAttributesForType(typeof(BaseViewModel)); 149var attributes = ModelAttributes.GetAttributesForType(typeof(BaseViewModel));