8 references to GetModelAttributes
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (8)
DataAnnotationsMetadataProviderTest.cs (8)
1113var context = new ValidationMetadataProviderContext(key, GetModelAttributes(new object[0], attributes));
1134var context = new ValidationMetadataProviderContext(key, GetModelAttributes(new object[0], attributes));
1457var context = new ValidationMetadataProviderContext(key, GetModelAttributes(new object[0], attributes));
1485var context = new BindingMetadataProviderContext(key, GetModelAttributes(new object[0], attributes));
1507var context = new BindingMetadataProviderContext(key, GetModelAttributes(new object[0], attributes));
1527var context = new ValidationMetadataProviderContext(key, GetModelAttributes(new object[0], attributes));
1547var context = new ValidationMetadataProviderContext(key, GetModelAttributes(new object[0], attributes));
1568var context = new ValidationMetadataProviderContext(key, GetModelAttributes(new object[0], attributes));