GeneratedArgumentProvider Constructor
Namespace: Ookii.CommandLine.SupportAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
protected GeneratedArgumentProvider(
Type argumentsType,
ParseOptionsAttribute? options = null,
IEnumerable<ClassValidationAttribute>? validators = null,
ApplicationFriendlyNameAttribute? friendlyName = null,
DescriptionAttribute? description = null
)
Protected Sub New (
argumentsType As Type,
Optional options As ParseOptionsAttribute = Nothing,
Optional validators As IEnumerable(Of ClassValidationAttribute) = Nothing,
Optional friendlyName As ApplicationFriendlyNameAttribute = Nothing,
Optional description As DescriptionAttribute = Nothing
)
Dim argumentsType As Type
Dim options As ParseOptionsAttribute
Dim validators As IEnumerable(Of ClassValidationAttribute)
Dim friendlyName As ApplicationFriendlyNameAttribute
Dim description As DescriptionAttribute
Dim instance As New GeneratedArgumentProvider(argumentsType,
options, validators, friendlyName,
description)
protected:
GeneratedArgumentProvider(
Type^ argumentsType,
ParseOptionsAttribute^ options = nullptr,
IEnumerable<ClassValidationAttribute^>^ validators = nullptr,
ApplicationFriendlyNameAttribute^ friendlyName = nullptr,
DescriptionAttribute^ description = nullptr
)
Parameters
- argumentsType Type
- The type that will hold the argument values.
- options ParseOptionsAttribute (Optional)
-
The ParseOptionsAttribute for the arguments type, or if
there is none.
- validators IEnumerableClassValidationAttribute (Optional)
- The class validators for the arguments type.
- friendlyName ApplicationFriendlyNameAttribute (Optional)
-
The ApplicationFriendlyNameAttribute for the arguments type, or
if there is none.
- description DescriptionAttribute (Optional)
-
The DescriptionAttribute for the arguments type, or if
there is none.