Share via


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

See Also

Reference

RequiredMemberModelValidator Class

System.Web.Http.Validation.Validators Namespace