Dela via


ClientValidatorProviderContext Constructor

Definition

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))

Parameters

modelMetadata
ModelMetadata

The ModelMetadata for the model being validated.

Applies to