다음을 통해 공유


ObjectModelValidator 생성자

정의

ObjectModelValidator의 새 인스턴스를 초기화합니다.

public:
 ObjectModelValidator(Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IModelValidatorProvider ^> ^ validatorProviders);
public ObjectModelValidator (Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider> validatorProviders);
new Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator : Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidatorProvider> -> Microsoft.AspNetCore.Mvc.ModelBinding.ObjectModelValidator
Public Sub New (modelMetadataProvider As IModelMetadataProvider, validatorProviders As IList(Of IModelValidatorProvider))

매개 변수

validatorProviders
IList<IModelValidatorProvider>

IModelValidatorProvider의 목록입니다.

적용 대상