اقرأ باللغة الإنجليزية

مشاركة عبر


ClientValidatorItem Class

Definition

Used to associate validators with ValidatorMetadata instances as part of ClientValidatorProviderContext. An IClientModelValidator should inspect Results and set Validator and IsReusable as appropriate.

C#
public class ClientValidatorItem
Inheritance
ClientValidatorItem

Constructors

Properties

IsReusable

Gets or sets a value indicating whether or not Validator can be reused across requests.

Validator

Gets or sets the IClientModelValidator.

ValidatorMetadata

Gets the metadata associated with the Validator.

Applies to

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