Partager via


ModelValidator.ValidatorProviders Property

Gets or sets an enumeration of validator providers.

Namespace:  System.Web.Http.Validation
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Protected Friend Property ValidatorProviders As IEnumerable(Of ModelValidatorProvider)
    Get 
    Private Set
'Usage
Dim value As IEnumerable(Of ModelValidatorProvider)

value = Me.ValidatorProviders
protected internal IEnumerable<ModelValidatorProvider> ValidatorProviders { get; private set; }
protected public:
property IEnumerable<ModelValidatorProvider^>^ ValidatorProviders {
    IEnumerable<ModelValidatorProvider^>^ get ();
    private: void set (IEnumerable<ModelValidatorProvider^>^ value);
}
member ValidatorProviders : IEnumerable<ModelValidatorProvider> with get, private set
function get ValidatorProviders () : IEnumerable<ModelValidatorProvider>
private function set ValidatorProviders (value : IEnumerable<ModelValidatorProvider>)

Property Value

Type: System.Collections.Generic.IEnumerable<ModelValidatorProvider>
An enumeration of validator providers.

See Also

Reference

ModelValidator Class

System.Web.Http.Validation Namespace