DuplicateArgumentEventArgs(CommandLineArgument, Boolean, ReadOnlyMemory<Char>) Constructor

Initializes a new instance of the DuplicateArgumentEventArgs class.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public DuplicateArgumentEventArgs(
	CommandLineArgument argument,
	bool hasValue,
	ReadOnlyMemory<char> newValue
)

Parameters

argument  CommandLineArgument
The argument that was specified more than once.
hasValue  Boolean
true if the argument has a value; otherwise, false.
newValue  ReadOnlyMemory<Char>
The raw new value of the argument.

Exceptions

ArgumentNullExceptionargument is null

See Also