Implemented interface member:
method
Validate
Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IObjectModelValidator.Validate(Microsoft.AspNetCore.Mvc.ActionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary, System.String, System.Object)
43 references to Validate
Microsoft.AspNetCore.Mvc.Core (2)
ModelBinding\ObjectModelValidator.cs (2)
59/// model state errors that <see cref="Validate(ActionContext, ValidationStateDictionary, string, object)"/> 79/// model state errors that <see cref="Validate(ActionContext, ValidationStateDictionary, string, object)"/>
Microsoft.AspNetCore.Mvc.Core.Test (41)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (41)
37validator.Validate(actionContext, validationState, "parameter", model); 63validator.Validate(actionContext, validationState, "parameter", model); 92validator.Validate(actionContext, validationState, "parameter", model); 119validator.Validate(actionContext, validationState, "parameter", model); 145validator.Validate(actionContext, validationState, "parameter", model); 169validator.Validate(actionContext, validationState, "parameter", model); 201validator.Validate(actionContext, validationState, "parameter", model); 231validator.Validate(actionContext, validationState, string.Empty, model); 274validator.Validate(actionContext, validationState, "person", model); 306validator.Validate(actionContext, validationState, "parameter", model); 338validator.Validate(actionContext, validationState, string.Empty, model); 370validator.Validate(actionContext, validationState, string.Empty, model); 410validator.Validate(actionContext, validationState, prefix: null, model: model); 444validator.Validate(actionContext, validationState, prefix: "invalidProperties", model: model); 483validator.Validate(actionContext, validationState, "parameter", model); 530validator.Validate(actionContext, validationState, "parameter", model); 606validator.Validate(actionContext, validationState, prefix: null, model: model.Object); 629validator.Validate(actionContext, validationState, "parameter", model); 660validator.Validate(actionContext, validationState, "parameter", model); 696validator.Validate(actionContext, validationState, "parameter", model); 736validator.Validate(actionContext, validationState, "user", model); 766validator.Validate(actionContext, validationState, "parameter", model); 797validator.Validate(actionContext, validationState, string.Empty, model); 840validator.Validate(actionContext, validationState, string.Empty, model); 922validator.Validate(actionContext, validationState, "items", model); 956validator.Validate(actionContext, validationState, prefix: null, model: model); 998validator.Validate(actionContext, validationState, "items", model); 1039validator.Validate(actionContext, validationState, string.Empty, model); 1098validator.Validate(actionContext, validationState, string.Empty, model); 1120validator.Validate(actionContext, validationState, string.Empty, model); 1145validator.Validate(actionContext, validationState, "user", model); 1175validator.Validate(actionContext, validationState, "userIds", model); 1210validator.Validate(actionContext, validationState, "parameter", model); 1238validator.Validate(actionContext, validationState, prefix: string.Empty, model); 1279var ex = Assert.Throws<InvalidOperationException>(() => validator.Validate(actionContext, validationState, prefix: string.Empty, model)); 1299validator.Validate(actionContext, validationState, prefix: string.Empty, model); 1328validator.Validate(actionContext, validationState, prefix: string.Empty, model); 1351validator.Validate(actionContext, validationState, prefix: string.Empty, model); 1374validator.Validate(actionContext, validationState, string.Empty, model); 1405validator.Validate(actionContext, validationState, string.Empty, model); 1435validator.Validate(actionContext, validationState, string.Empty, model);