Udostępnij za pośrednictwem


ClientValidatorProviderContext Konstruktor

Definicja

Tworzy nowy adres ClientValidatorProviderContext.

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

Parametry

modelMetadata
ModelMetadata

Element ModelMetadata dla weryfikowanego modelu.

Dotyczy