ValidatableObjectAdapter Constructor
Initializes a new instance of the ValidatableObjectAdapter 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 ValidatableObjectAdapter(validatorProviders)
public ValidatableObjectAdapter(
IEnumerable<ModelValidatorProvider> validatorProviders
)
public:
ValidatableObjectAdapter(
IEnumerable<ModelValidatorProvider^>^ validatorProviders
)
new :
validatorProviders:IEnumerable<ModelValidatorProvider> -> ValidatableObjectAdapter
public function ValidatableObjectAdapter(
validatorProviders : IEnumerable<ModelValidatorProvider>
)
Parameters
validatorProviders
Type: System.Collections.Generic.IEnumerable<ModelValidatorProvider>The validation provider.