ValidateNotEmptyAttributeIsSpanValid Method

Determines if the argument is not an empty string.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
C#
public override bool? IsSpanValid(
	CommandLineArgument argument,
	ReadOnlySpan<char> value
)

Parameters

argument  CommandLineArgument
The argument being validated.
value  ReadOnlySpanChar
The raw string argument value provided by the user on the command line.

Return Value

NullableBoolean
if the value is valid; otherwise, .

See Also