RequiredMemberModelValidatorProvider Constructor
Initializes a new instance of the RequiredMemberModelValidatorProvider class.
Namespace: System.Web.Http.Validation.Providers
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
requiredMemberSelector As IRequiredMemberSelector _
)
'Usage
Dim requiredMemberSelector As IRequiredMemberSelector
Dim instance As New RequiredMemberModelValidatorProvider(requiredMemberSelector)
public RequiredMemberModelValidatorProvider(
IRequiredMemberSelector requiredMemberSelector
)
public:
RequiredMemberModelValidatorProvider(
IRequiredMemberSelector^ requiredMemberSelector
)
new :
requiredMemberSelector:IRequiredMemberSelector -> RequiredMemberModelValidatorProvider
public function RequiredMemberModelValidatorProvider(
requiredMemberSelector : IRequiredMemberSelector
)
Parameters
requiredMemberSelector
Type: System.Net.Http.Formatting.IRequiredMemberSelectorThe required member selector.