6 writes to ObjectValidator
Microsoft.AspNetCore.Mvc.Core.Test (4)
ControllerBaseTest.cs (4)
3069
controller.
ObjectValidator
= new DefaultObjectValidator(
3106
controller.
ObjectValidator
= new DefaultObjectValidator(
3143
controller.
ObjectValidator
= new DefaultObjectValidator(
3230
ObjectValidator
= new DefaultObjectValidator(metadataProvider, validatorProviders, new MvcOptions()),
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
TryValidateModelIntegrationTest.cs (1)
218
controller.
ObjectValidator
= ModelBindingTestHelper.GetObjectValidator(metadataProvider, options);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
ControllerTest.cs (1)
455
ObjectValidator
= new DefaultObjectValidator(metadataProvider, validatorProviders, new MvcOptions()),
8 references to ObjectValidator
Microsoft.AspNetCore.Mvc.Core (8)
ControllerBase.cs (8)
2589
ObjectValidator
);
2626
ObjectValidator
,
2663
ObjectValidator
,
2698
ObjectValidator
,
2732
ObjectValidator
,
2768
ObjectValidator
);
2803
ObjectValidator
,
2835
ObjectValidator
.Validate(