다음을 통해 공유


ClientModelValidationContext 생성자

정의

ClientModelValidationContext의 새 인스턴스를 만듭니다.

public:
 ClientModelValidationContext(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext, Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ metadataProvider, System::Collections::Generic::IDictionary<System::String ^, System::String ^> ^ attributes);
public ClientModelValidationContext (Microsoft.AspNetCore.Mvc.ActionContext actionContext, Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider metadataProvider, System.Collections.Generic.IDictionary<string,string> attributes);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext : Microsoft.AspNetCore.Mvc.ActionContext * Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * System.Collections.Generic.IDictionary<string, string> -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ClientModelValidationContext
Public Sub New (actionContext As ActionContext, metadata As ModelMetadata, metadataProvider As IModelMetadataProvider, attributes As IDictionary(Of String, String))

매개 변수

actionContext
ActionContext

ActionContext 유효성 검사를 위한 입니다.

metadata
ModelMetadata

ModelMetadata 유효성 검사를 위한 입니다.

metadataProvider
IModelMetadataProvider

IModelMetadataProvider 유효성 검사에 사용할 입니다.

attributes
IDictionary<String,String>

렌더링되는 HTML 태그의 특성 사전입니다.

적용 대상