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