ValidateNeverAttribute.ShouldValidateEntry Method

Definition

Gets an indication whether the entry should be validated.

C#
public bool ShouldValidateEntry (Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry entry, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry parentEntry);

Parameters

parentEntry
ValidationEntry

ValidationEntry containing entry.

Returns

true if entry should be validated; false otherwise.

Implements

Applies to

منتج الإصدارات
ASP.NET Core 2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0