Megosztás a következőn keresztül:


MvcOptions.ModelValidatorProviders Property

Definition

Gets a list of IModelValidatorProviders used by this application.

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)

Property Value

Applies to