IPropertyValidationFilter.ShouldValidateEntry(ValidationEntry, ValidationEntry) IPropertyValidationFilter.ShouldValidateEntry(ValidationEntry, ValidationEntry) IPropertyValidationFilter.ShouldValidateEntry(ValidationEntry, ValidationEntry) IPropertyValidationFilter.ShouldValidateEntry(ValidationEntry, ValidationEntry) Method

Definition

Gets an indication whether the entry should be validated.

public:
 bool ShouldValidateEntry(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationEntry entry, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationEntry parentEntry);
public bool ShouldValidateEntry (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry entry, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry parentEntry);
abstract member ShouldValidateEntry : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry -> bool
Public Function ShouldValidateEntry (entry As ValidationEntry, parentEntry As ValidationEntry) As Boolean

Parameters

Returns

true if entry should be validated; false otherwise.

Applies to