LocalizedStringProviderValidateProhibitsFailed Method

Gets an error message used if the ProhibitsAttribute attribute fails validation.

Definition

Namespace: Ookii.CommandLine
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public virtual string ValidateProhibitsFailed(
	string argumentName,
	IEnumerable<CommandLineArgument> prohibitedArguments
)

Parameters

argumentName  String
The name of the argument.
prohibitedArguments  IEnumerableCommandLineArgument
The names of the prohibited arguments.

Return Value

String
The error message.

See Also