UnknownArgumentEventArgs Constructor

Initializes a new instance of the UnknownArgumentEventArgs class.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
C#
public UnknownArgumentEventArgs(
	string token,
	ReadOnlyMemory<char> name,
	ReadOnlyMemory<char> value,
	bool isCombinedSwithToken,
	ImmutableArray<string> possibleMatches
)

Parameters

token  String
The argument token that contains the unknown argument.
name  ReadOnlyMemoryChar
The argument name.
value  ReadOnlyMemoryChar
The argument value.
isCombinedSwithToken  Boolean
Indicates whether the argument is part of a combined short switch argument.
possibleMatches  ImmutableArrayString
A list of possible arguments that this argument could match by prefix, or .

Exceptions

See Also