共用方式為


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)

屬性值

適用於