1 write to MetadataProvider
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
ModelBindingTestHelper.cs (1)
37MetadataProvider = metadataProvider,
27 references to MetadataProvider
Microsoft.AspNetCore.Mvc.IntegrationTests (27)
ArrayModelBinderIntegrationTest.cs (1)
394var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType);
CollectionModelBinderIntegrationTest.cs (6)
991var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 1020var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 1077var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 1115var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 1143var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 1192var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType);
ComplexRecordIntegrationTest.cs (6)
3319var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 3348var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 3389var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 3423var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 4243return context.MetadataProvider.GetMetadataForType(parameter.ParameterType); 4252context.MetadataProvider,
ComplexTypeIntegrationTestBase.cs (6)
3554var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 3593var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 3640var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 3692var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType); 3742return context.MetadataProvider.GetMetadataForType(parameter.ParameterType); 3751context.MetadataProvider,
DictionaryModelBinderIntegrationTest.cs (1)
1220var metadata = testContext.MetadataProvider.GetMetadataForType(parameter.ParameterType);
TryUpdateModelIntegrationTest.cs (2)
1365testContext.MetadataProvider, 1368ModelBindingTestHelper.GetObjectValidator(testContext.MetadataProvider));
TryValidateModelIntegrationTest.cs (5)
32var controller = CreateController(testContext, testContext.MetadataProvider); 63var controller = CreateController(testContext, testContext.MetadataProvider); 106var controller = CreateController(testContext, testContext.MetadataProvider); 139var controller = CreateController(testContext, testContext.MetadataProvider, o => o.ValidateComplexTypesIfChildValidationFails = true); 160var controller = CreateController(testContext, testContext.MetadataProvider, o => o.ValidateComplexTypesIfChildValidationFails = false);