GeneratedArgumentProvider Constructor

Initializes a new instance of the GeneratedArgumentProvider class.

Definition

Namespace: Ookii.CommandLine.Support
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
protected GeneratedArgumentProvider(
	Type argumentsType,
	ParseOptionsAttribute? options = null,
	IEnumerable<ClassValidationAttribute>? validators = null,
	ApplicationFriendlyNameAttribute? friendlyName = null,
	DescriptionAttribute? description = null
)

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.

See Also