ValidateStringLengthAttributeIsSpanValid Method

Determines if the argument's value's length is in the range.

Definition

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

Parameters

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

Return Value

NullableBoolean
if the value is valid; otherwise, .

See Also