Udostępnij za pośrednictwem


ValidationVisitor Konstruktory

Definicja

Przeciążenia

ValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary)

Tworzy nowy adres ValidationVisitor.

ValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary)

Tworzy nowy adres ValidationVisitor.

ValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary)

Źródło:
ValidationVisitor.cs
Źródło:
ValidationVisitor.cs

Tworzy nowy adres ValidationVisitor.

public:
 ValidationVisitor(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IModelValidatorProvider ^ validatorProvider, Microsoft::AspNetCore::Mvc::Internal::ValidatorCache ^ validatorCache, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateDictionary ^ validationState);
public ValidationVisitor (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider, Microsoft.AspNetCore.Mvc.Internal.ValidatorCache validatorCache, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider * Microsoft.AspNetCore.Mvc.Internal.ValidatorCache * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor
Public Sub New (actionContext As ActionContext, validatorProvider As IModelValidatorProvider, validatorCache As ValidatorCache, metadataProvider As IModelMetadataProvider, validationState As ValidationStateDictionary)

Parametry

actionContext
ActionContext

Skojarzone ActionContext z bieżącym żądaniem.

validatorCache
Microsoft.AspNetCore.Mvc.Internal.ValidatorCache

Element Microsoft.AspNetCore.Mvc.Internal.ValidatorCache , który zawiera listę s IModelValidator.

metadataProvider
IModelMetadataProvider

Dostawca używany do odczytywania metadanych dla typu modelu.

Dotyczy

ValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary)

Źródło:
ValidationVisitor.cs

Tworzy nowy adres ValidationVisitor.

public:
 ValidationVisitor(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IModelValidatorProvider ^ validatorProvider, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidatorCache ^ validatorCache, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationStateDictionary ^ validationState);
public ValidationVisitor (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache validatorCache, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary validationState);
public ValidationVisitor (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider validatorProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache validatorCache, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary? validationState);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorCache * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationStateDictionary -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor
Public Sub New (actionContext As ActionContext, validatorProvider As IModelValidatorProvider, validatorCache As ValidatorCache, metadataProvider As IModelMetadataProvider, validationState As ValidationStateDictionary)

Parametry

actionContext
ActionContext

Skojarzone ActionContext z bieżącym żądaniem.

validatorCache
ValidatorCache

Element ValidatorCache , który zawiera listę s IModelValidator.

metadataProvider
IModelMetadataProvider

Dostawca używany do odczytywania metadanych dla typu modelu.

Dotyczy