次の方法で共有


ObjectModelValidator.GetValidationVisitor メソッド

定義

オーバーロード

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

ValidationVisitorオブジェクト モデル グラフを走査し、検証を実行する を取得します。

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

ValidationVisitorオブジェクト モデル グラフを走査し、検証を実行する を取得します。

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

ソース:
ObjectModelValidator.cs
ソース:
ObjectModelValidator.cs

ValidationVisitorオブジェクト モデル グラフを走査し、検証を実行する を取得します。

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

パラメーター

actionContext
ActionContext

ActionContext

validatorCache
Microsoft.AspNetCore.Mvc.Internal.ValidatorCache

Microsoft.AspNetCore.Mvc.Internal.ValidatorCache

戻り値

ValidationVisitorオブジェクト モデル グラフを走査する 。

適用対象

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

ソース:
ObjectModelValidator.cs

ValidationVisitorオブジェクト モデル グラフを走査し、検証を実行する を取得します。

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

パラメーター

actionContext
ActionContext

ActionContext

validatorCache
ValidatorCache

ValidatorCache

戻り値

ValidationVisitorオブジェクト モデル グラフを走査する 。

適用対象