다음을 통해 공유


ModelValidationContextBase 생성자

정의

ModelValidationContextBase을 인스턴스화합니다.

public:
 ModelValidationContextBase(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ modelMetadata, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider);
public ModelValidationContextBase (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata modelMetadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ModelValidationContextBase
Public Sub New (actionContext As ActionContext, modelMetadata As ModelMetadata, metadataProvider As IModelMetadataProvider)

매개 변수

actionContext
ActionContext

이 컨텍스트의 입니다 ActionContext .

modelMetadata
ModelMetadata

이 모델의 입니다 ModelMetadata .

metadataProvider
IModelMetadataProvider

IModelMetadataProvider 이 컨텍스트에서 사용할 입니다.

적용 대상