ModelValidatorProviderContext Costruttore

Definizione

Crea un nuovo oggetto ModelValidatorProviderContext.

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

Parametri

modelMetadata
ModelMetadata

Oggetto ModelMetadata.

items
IList<ValidatorItem>

Elenco di ValidatorItem.

Si applica a