Share via


ClientModelValidationContext Class

Definition

The context for client-side model validation.

public ref class ClientModelValidationContext : Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ModelValidationContextBase
public class ClientModelValidationContext : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase
type ClientModelValidationContext = class
    inherit ModelValidationContextBase
Public Class ClientModelValidationContext
Inherits ModelValidationContextBase
Inheritance
ClientModelValidationContext

Constructors

ClientModelValidationContext(ActionContext, ModelMetadata, IModelMetadataProvider, IDictionary<String,String>)

Create a new instance of ClientModelValidationContext.

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