다음을 통해 공유


ValidationEntry 생성자

정의

오버로드

ValidationEntry(ModelMetadata, String, Func<Object>)

ValidationEntry를 만듭니다.

ValidationEntry(ModelMetadata, String, Object)

ValidationEntry를 만듭니다.

ValidationEntry(ModelMetadata, String, Func<Object>)

Source:
ValidationEntry.cs
Source:
ValidationEntry.cs
Source:
ValidationEntry.cs

ValidationEntry를 만듭니다.

public:
 ValidationEntry(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::String ^ key, Func<System::Object ^> ^ modelAccessor);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, Func<object> modelAccessor);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, Func<object?> modelAccessor);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * Func<obj> -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry
Public Sub New (metadata As ModelMetadata, key As String, modelAccessor As Func(Of Object))

매개 변수

metadata
ModelMetadata

ModelMetadata와 연결된 Model입니다.

key
String

와 연결된 모델 접두사입니다 Model.

modelAccessor
Func<Object>

를 반환할 대리자입니다 Model.

적용 대상

ValidationEntry(ModelMetadata, String, Object)

Source:
ValidationEntry.cs
Source:
ValidationEntry.cs
Source:
ValidationEntry.cs

ValidationEntry를 만듭니다.

public:
 ValidationEntry(Microsoft::AspNetCore::Mvc::ModelBinding::ModelMetadata ^ metadata, System::String ^ key, System::Object ^ model);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object model);
public ValidationEntry (Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata metadata, string key, object? model);
new Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry : Microsoft.AspNetCore.Mvc.ModelBinding.ModelMetadata * string * obj -> Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidationEntry
Public Sub New (metadata As ModelMetadata, key As String, model As Object)

매개 변수

metadata
ModelMetadata

ModelMetadata과 연결된 model입니다.

key
String

와 연결된 모델 접두사입니다 model.

model
Object

모델 개체입니다.

적용 대상