ArgumentProvider Constructor

Initializes a new instance of the ArgumentProvider class.

Definition

Namespace: Ookii.CommandLine.Support
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
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.

See Also