Udostępnij za pośrednictwem


ValidateNeverAttribute.ShouldValidateEntry Metoda

Definicja

Pobiera wskazanie, czy entry element powinien zostać zweryfikowany.

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

Parametry

entry
ValidationEntry

ValidationEntry w celu sprawdzenia.

parentEntry
ValidationEntry

ValidationEntryzawierający .entry

Zwraca

true jeśli entry ma zostać zweryfikowany; false w przeciwnym razie.

Implementuje

Dotyczy