Partager via


ValidateNeverAttribute.ShouldValidateEntry Méthode

Définition

Obtient une indication indiquant si le entry doit être validé.

public:
 virtual 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
override this.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

Paramètres

entry
ValidationEntry

ValidationEntrypour case activée.

parentEntry
ValidationEntry

ValidationEntry contenant entry.

Retours

true si entry doit être validé ; false sinon.

Implémente

S’applique à