ModelValidatorProviderContext.Results 属性

定义

获取实例的列表 ValidatorItemIModelValidatorProvider调用 时CreateValidators(ModelValidatorProviderContext),实例应添加相应的Validator属性。

public:
 property System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidatorItem ^> ^ Results { System::Collections::Generic::IList<Microsoft::AspNetCore::Mvc::ModelBinding::Validation::ValidatorItem ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorItem> Results { get; }
member this.Results : System.Collections.Generic.IList<Microsoft.AspNetCore.Mvc.ModelBinding.Validation.ValidatorItem>
Public ReadOnly Property Results As IList(Of ValidatorItem)

属性值

适用于