DuplicateArgumentEventArgs(CommandLineArgument, String) Constructor

Initializes a new instance of the DuplicateArgumentEventArgs class.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public DuplicateArgumentEventArgs(
	CommandLineArgument argument,
	string? newValue
)

Parameters

argument  CommandLineArgument
The argument that was specified more than once.
newValue  String
The raw new value of the argument, or null if the argument has no value.

Exceptions

ArgumentNullExceptionargument is null

See Also