22 references to SuppressChildValidationMetadataProvider
FormatterWebSite (4)
Startup.cs (2)
14
options.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Developer)));
15
options.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Supplier)));
StartupWithJsonInputFormatter.cs (2)
14
options.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Developer)));
15
options.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Supplier)));
Microsoft.AspNetCore.Mvc.Core (12)
Infrastructure\MvcCoreMvcOptionsSetup.cs (12)
123
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Type)));
124
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Delegate)));
125
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(MethodInfo)));
126
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(MemberInfo)));
127
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(ParameterInfo)));
128
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Assembly)));
129
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Uri)));
130
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(CancellationToken)));
131
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(IFormFile)));
132
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(IFormCollection)));
133
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(IFormFileCollection)));
134
modelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Stream)));
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1466
excludeFilters.Add(new
SuppressChildValidationMetadataProvider
(excludedType));
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
HasValidatorsValidationMetadataProviderIntegrationTest.cs (1)
38
mvcOptions.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(IQueryable)));
ValidationIntegrationTests.cs (1)
1742
options.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Address)));
ValidationWithRecordIntegrationTests.cs (1)
1545
options.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(Address)));
Microsoft.AspNetCore.Mvc.NewtonsoftJson (2)
DependencyInjection\NewtonsoftJsonMvcOptionsSetup.cs (2)
73
options.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(IJsonPatchDocument)));
74
options.ModelMetadataDetailsProviders.Add(new
SuppressChildValidationMetadataProvider
(typeof(JToken)));