ValidateNotWhiteSpaceAttributeIsValid Method

Determines if the argument's value is not an empty string, or contains only white-space characters.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.1.0+9df03b6173b5fc9d44dc39638758964dd7a0f4c7
C#
public override bool IsValid(
	CommandLineArgument argument,
	Object? value
)

Parameters

argument  CommandLineArgument
The argument being validated.
value  Object
The raw string argument value.

Return Value

Boolean
if the value is valid; otherwise, .

See Also