Provides built-in validators for options and arguments.
public static class Validate
kind:method, kind:property, kind:ctor. Press Esc to clear.Chain<T>(OptionValidator<T>[])Combines multiple validators and returns the first validation error.Custom<T>(OptionValidator<T>)Returns the provided custom validator.DirectoryExists()Validates that a path refers to an existing directory.FileExists()Validates that a path refers to an existing file.Matches(String, String?)Validates that a string matches the specified regular expression pattern.Matches(Regex, String?)Validates that a string matches the specified regular expression.NonEmpty()Validates that a string is non-empty.NonNegative<T>()Validates that a numeric value is greater than or equal to zero.OneOf<T>(T[])Validates that a value is one of the provided allowed values.PathExists()Validates that a path refers to an existing file or directory.Positive<T>()Validates that a numeric value is greater than zero.Range<T>(T, T)Validates that a comparable value is within the specified inclusive range.That<T>(Func<T, Boolean>, String)Creates a validator from an inline predicate.