ClientModelValidationContext ClientModelValidationContext ClientModelValidationContext 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
ClientModelValidationContextClientModelValidationContextClientModelValidationContextClientModelValidationContext

Constructors

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

Create a new instance of ClientModelValidationContext.

Properties

ActionContext ActionContext ActionContext ActionContext

Gets the ActionContext.

(Inherited from ModelValidationContextBase)
Attributes Attributes Attributes Attributes

Gets the attributes dictionary for the HTML tag being rendered.

MetadataProvider MetadataProvider MetadataProvider MetadataProvider

Gets the IModelMetadataProvider.

(Inherited from ModelValidationContextBase)
ModelMetadata ModelMetadata ModelMetadata ModelMetadata

Gets the ModelMetadata.

(Inherited from ModelValidationContextBase)

Applies to