ValidateNotWhiteSpaceAttributeIsValid 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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
public override bool IsValid(
CommandLineArgument argument,
Object? value
)
Public Overrides Function IsValid (
argument As CommandLineArgument,
value As Object
) As Boolean
Dim instance As ValidateNotWhiteSpaceAttribute
Dim argument As CommandLineArgument
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.IsValid(argument,
value)
public:
virtual bool IsValid(
CommandLineArgument^ argument,
Object^ value
) override
- argument CommandLineArgument
- The argument being validated.
- value Object
-
The raw string argument value.
Boolean if the value is valid; otherwise,
.