ObjectModelValidator.GetValidationVisitor Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
GetValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary) |
Obtém um ValidationVisitor que atravessa o grafo do modelo de objeto e executa a validação. |
GetValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary) |
Obtém um ValidationVisitor que atravessa o grafo do modelo de objeto e executa a validação. |
GetValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary)
- Origem:
- ObjectModelValidator.cs
- Origem:
- ObjectModelValidator.cs
Obtém um ValidationVisitor que atravessa o grafo do modelo de objeto e executa a validação.
public:
abstract Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationVisitor ^ GetValidationVisitor(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 abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor GetValidationVisitor (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);
abstract member GetValidationVisitor : 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 MustOverride Function GetValidationVisitor (actionContext As ActionContext, validatorProvider As IModelValidatorProvider, validatorCache As ValidatorCache, metadataProvider As IModelMetadataProvider, validationState As ValidationStateDictionary) As ValidationVisitor
Parâmetros
- actionContext
- ActionContext
- validatorProvider
- IModelValidatorProvider
- validatorCache
- Microsoft.AspNetCore.Mvc.Internal.ValidatorCache
O Microsoft.AspNetCore.Mvc.Internal.ValidatorCache.
- metadataProvider
- IModelMetadataProvider
- validationState
- ValidationStateDictionary
Retornos
Um ValidationVisitor que atravessa o grafo do modelo de objeto.
Aplica-se a
GetValidationVisitor(ActionContext, IModelValidatorProvider, ValidatorCache, IModelMetadataProvider, ValidationStateDictionary)
- Origem:
- ObjectModelValidator.cs
Obtém um ValidationVisitor que atravessa o grafo do modelo de objeto e executa a validação.
public:
abstract Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidationVisitor ^ GetValidationVisitor(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 abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor GetValidationVisitor (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 abstract Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationVisitor GetValidationVisitor (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);
abstract member GetValidationVisitor : 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 MustOverride Function GetValidationVisitor (actionContext As ActionContext, validatorProvider As IModelValidatorProvider, validatorCache As ValidatorCache, metadataProvider As IModelMetadataProvider, validationState As ValidationStateDictionary) As ValidationVisitor
Parâmetros
- actionContext
- ActionContext
- validatorProvider
- IModelValidatorProvider
- validatorCache
- ValidatorCache
- metadataProvider
- IModelMetadataProvider
- validationState
- ValidationStateDictionary
Retornos
Um ValidationVisitor que atravessa o grafo do modelo de objeto.