ArgumentValidationAttributeIsValidPostParsing Method

Determines if the argument's value is valid after all arguments have been parsed.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
C#
public virtual bool IsValidPostParsing(
	CommandLineArgument argument
)

Parameters

argument  CommandLineArgument
The argument being validated.

Return Value

Boolean
if the value is valid; otherwise, .

Remarks

This method is called even if the argument was not specified on the command line. Check the CommandLineArgumentHasValue to see if a value was provided.

The default implementation always returns .

See Also