Partager via


ClientValidatorProviderContext Constructeur

Définition

public:
 ClientValidatorProviderContext(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ modelMetadata, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ClientValidatorItem ^> ^ items);
public ClientValidatorProviderContext (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorItem> items);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorItem> -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientValidatorProviderContext
Public Sub New (modelMetadata As ModelMetadata, items As IList(Of ClientValidatorItem))

Paramètres

modelMetadata
ModelMetadata

ModelMetadata pour le modèle en cours de validation.

S’applique à