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 タグの属性ディクショナリ。

適用対象