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