ValidateNotWhiteSpaceAttributeIsSpanValid Method
Determines if the argument's value is not an empty string, or contains only white-space
characters.
Namespace: Ookii.CommandLine.ValidationAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public override bool? IsSpanValid(
CommandLineArgument argument,
ReadOnlySpan<char> value
)
Public Overrides Function IsSpanValid (
argument As CommandLineArgument,
value As ReadOnlySpan(Of Char)
) As Boolean?
Dim instance As ValidateNotWhiteSpaceAttribute
Dim argument As CommandLineArgument
Dim value As ReadOnlySpan(Of Char)
Dim returnValue As Boolean?
returnValue = instance.IsSpanValid(argument,
value)
public:
virtual Nullable<bool> IsSpanValid(
CommandLineArgument^ argument,
ReadOnlySpan<wchar_t> value
) override
- argument CommandLineArgument
- The argument being validated.
- value ReadOnlySpanChar
-
The raw string argument value.
NullableBoolean if the value is valid; otherwise,
.