ModelValidator Constructor
Initializes a new instance of the ModelValidator class.
Namespace: System.Web.Http.Validation
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Protected Sub New ( _
validatorProviders As IEnumerable(Of ModelValidatorProvider) _
)
'Usage
Dim validatorProviders As IEnumerable(Of ModelValidatorProvider)
Dim instance As New ModelValidator(validatorProviders)
protected ModelValidator(
IEnumerable<ModelValidatorProvider> validatorProviders
)
protected:
ModelValidator(
IEnumerable<ModelValidatorProvider^>^ validatorProviders
)
new :
validatorProviders:IEnumerable<ModelValidatorProvider> -> ModelValidator
protected function ModelValidator(
validatorProviders : IEnumerable<ModelValidatorProvider>
)
Parameters
validatorProviders
Type: System.Collections.Generic.IEnumerable<ModelValidatorProvider>The validator providers.