Binboo.Core.Commands.Arguments.ParamValidator.ParamValidator C# (CSharp) Method

ParamValidator() protected method

protected ParamValidator ( string regex ) : System.Collections.Generic
regex string
return System.Collections.Generic
        protected ParamValidator(string regex, params ParamValidator[] validators)
            : this(regex)
        {
            for (int i = 0; i < validators.Length; i++)
            {
                _regex = Regex.Replace(_regex, "%" + i + "%", validators[i].RegularExpression);
            }
        }

Same methods

ParamValidator::ParamValidator ( string regex, bool optional ) : System.Collections.Generic