ArgumentProvider Constructor
Namespace: Ookii.CommandLine.SupportAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
protected ArgumentProvider(
Type argumentsType,
ParseOptionsAttribute? options,
IEnumerable<ClassValidationAttribute>? validators
)
Protected Sub New (
argumentsType As Type,
options As ParseOptionsAttribute,
validators As IEnumerable(Of ClassValidationAttribute)
)
Dim argumentsType As Type
Dim options As ParseOptionsAttribute
Dim validators As IEnumerable(Of ClassValidationAttribute)
Dim instance As New ArgumentProvider(argumentsType,
options, validators)
protected:
ArgumentProvider(
Type^ argumentsType,
ParseOptionsAttribute^ options,
IEnumerable<ClassValidationAttribute^>^ validators
)
Parameters
- argumentsType Type
- The type that will hold the argument values.
- options ParseOptionsAttribute
-
The ParseOptionsAttribute for the arguments type, or
if there is none.
- validators IEnumerableClassValidationAttribute
- The class validators for the arguments type.