MvcOptions.ModelValidatorProviders 属性

定义

获取此应用程序使用的 的列表 IModelValidatorProvider

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

属性值

适用于