7 implementations of Validate
Microsoft.AspNetCore.Mvc.Core.Test (4)
Controllers\ControllerBinderDelegateProviderTest.cs (1)
1422public IEnumerable<ModelValidationResult> Validate(ModelValidationContext context)
ModelBinding\Metadata\DefaultValidationMetadataProviderTest.cs (2)
179public IEnumerable<ModelValidationResult> Validate(ModelValidationContext context) 200public IEnumerable<ModelValidationResult> Validate(ModelValidationContext context)
ModelBinding\Validation\DefaultModelValidatorProviderTest.cs (1)
204public IEnumerable<ModelValidationResult> Validate(ModelValidationContext context)
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
DataAnnotationsModelValidator.cs (1)
50public IEnumerable<ModelValidationResult> Validate(ModelValidationContext validationContext)
ValidatableObjectAdapter.cs (1)
12public IEnumerable<ModelValidationResult> Validate(ModelValidationContext context)
Microsoft.AspNetCore.Mvc.DataAnnotations.Test (1)
DefaultModelClientValidatorProviderTest.cs (1)
229public IEnumerable<ModelValidationResult> Validate(ModelValidationContext context)
15 references to Validate
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\ValidationVisitor.cs (1)
226results.AddRange(validators[i].Validate(context));
Microsoft.AspNetCore.Mvc.Core.Test (14)
ControllerBaseTest.cs (2)
3095validator.Setup(v => v.Validate(It.IsAny<ModelValidationContext>())) 3132validator.Setup(v => v.Validate(It.IsAny<ModelValidationContext>()))
Controllers\ControllerBinderDelegateProviderTest.cs (12)
51mockValidator.Setup(o => o.Validate(It.IsAny<ModelValidationContext>())); 79.Verify(o => o.Validate( 105mockValidator.Setup(o => o.Validate(It.IsAny<ModelValidationContext>())); 134.Verify(o => o.Validate( 391.Setup(o => o.Validate(It.IsAny<ModelValidationContext>())) 414mockValidator.Verify(o => o.Validate(It.IsAny<ModelValidationContext>()), Times.Once()); 444mockValidator.Setup(o => o.Validate(It.IsAny<ModelValidationContext>())); 465.Verify(o => o.Validate( 488.Setup(o => o.Validate(It.IsAny<ModelValidationContext>())) 511mockValidator.Verify(o => o.Validate(It.IsAny<ModelValidationContext>()), Times.Once()); 587mockValidator.Setup(o => o.Validate(It.IsAny<ModelValidationContext>())); 609.Verify(o => o.Validate(