ClientModelValidationContext Class

Definition

The context for client-side model validation.

C#
public class ClientModelValidationContext : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase
Inheritance
ClientModelValidationContext

Constructors

Properties

ActionContext

Gets the ActionContext.

(Inherited from ModelValidationContextBase)
Attributes

Gets the attributes dictionary for the HTML tag being rendered.

MetadataProvider

Gets the IModelMetadataProvider.

(Inherited from ModelValidationContextBase)
ModelMetadata

Gets the ModelMetadata.

(Inherited from ModelValidationContextBase)

Applies to

Produkt Verzie
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