ValidateNotWhiteSpaceAttributeIsSpanValid 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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
C#
public override bool? IsSpanValid(
	CommandLineArgument argument,
	ReadOnlySpan<char> value
)

Parameters

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

Return Value

NullableBoolean
if the value is valid; otherwise, .

See Also