4 writes to ValidateComplexTypesIfChildValidationFails
FormatterWebSite (1)
StartupWithComplexParentValidation.cs (1)
11.AddControllers(options => options.ValidateComplexTypesIfChildValidationFails = true)
Microsoft.AspNetCore.Mvc.Core.Test (1)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (1)
1338_options.ValidateComplexTypesIfChildValidationFails = optionValue;
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
TryValidateModelIntegrationTest.cs (2)
139var controller = CreateController(testContext, testContext.MetadataProvider, o => o.ValidateComplexTypesIfChildValidationFails = true); 160var controller = CreateController(testContext, testContext.MetadataProvider, o => o.ValidateComplexTypesIfChildValidationFails = false);
4 references to ValidateComplexTypesIfChildValidationFails
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\DefaultObjectValidator.cs (1)
47ValidateComplexTypesIfChildValidationFails = _mvcOptions.ValidateComplexTypesIfChildValidationFails,
Microsoft.AspNetCore.Mvc.FunctionalTests (3)
InputParentValidationTests.cs (3)
18/// Functional tests for verifying the impact of using <see cref="MvcOptions.ValidateComplexTypesIfChildValidationFails"/> 110/// Scenarios for verifying the impact of setting <see cref="MvcOptions.ValidateComplexTypesIfChildValidationFails"/> 119/// Scenarios for verifying the impact of leaving <see cref="MvcOptions.ValidateComplexTypesIfChildValidationFails"/>