3 implementations of ShouldValidateEntry
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\ValidateNeverAttribute.cs (1)
18public bool ShouldValidateEntry(ValidationEntry entry, ValidationEntry parentEntry)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
ValidationIntegrationTests.cs (1)
1539public bool ShouldValidateEntry(ValidationEntry entry, ValidationEntry parentEntry)
ValidationWithRecordIntegrationTests.cs (1)
1349public bool ShouldValidateEntry(ValidationEntry entry, ValidationEntry parentEntry)
6 references to ShouldValidateEntry
Microsoft.AspNetCore.Mvc.Abstractions (2)
ModelBinding\Validation\IPropertyValidationFilter.cs (2)
8/// applied to a property, the validation system calls <see cref="ShouldValidateEntry"/> to determine whether to 9/// validate that property. When applied to a type, the validation system calls <see cref="ShouldValidateEntry"/>
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Validation\ValidationVisitor.cs (1)
438if (metadata.PropertyValidationFilter?.ShouldValidateEntry(entry, parentEntry) == false)
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Metadata\DefaultValidationMetadataProviderTest.cs (3)
25Assert.False(context.ValidationMetadata.PropertyValidationFilter.ShouldValidateEntry( 81Assert.False(context.ValidationMetadata.PropertyValidationFilter.ShouldValidateEntry( 103Assert.False(context.ValidationMetadata.PropertyValidationFilter.ShouldValidateEntry(