public enum ValidationMode
Public Enumeration ValidationMode
Dim instance As ValidationMode
public enum class ValidationMode
AfterConversion | 0 | Validation will occur after the value is converted. The value passed to the ArgumentValidationAttributeIsValid(CommandLineArgument, Object) method is an instance of the argument's type. |
BeforeConversion | 1 | Validation will occur before the value is converted. The value passed to the ArgumentValidationAttributeIsValid(CommandLineArgument, Object) method is the raw string provided by the user, and CommandLineArgumentValue is not yet set. |
AfterParsing | 2 | Validation will occur after all arguments have been parsed. Validators will only be called on arguments with values, and the value passed to ArgumentValidationAttributeIsValid(CommandLineArgument, Object) is always . |