ValidatorItem.Validator 属性

定义

获取或设置 IModelValidator

public:
 property Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IModelValidator ^ Validator { Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IModelValidator ^ get(); void set(Microsoft::AspNetCore::Mvc::ModelBinding::Validation::IModelValidator ^ value); };
public Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator Validator { get; set; }
public Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator? Validator { get; set; }
member this.Validator : Microsoft.AspNetCore.Mvc.ModelBinding.Validation.IModelValidator with get, set
Public Property Validator As IModelValidator

属性值

适用于