Binboo.Core.Commands.Arguments.ParamValidator.IsMatch C# (CSharp) Метод

IsMatch() публичный Метод

public IsMatch ( string candidate ) : bool
candidate string
Результат bool
        public virtual bool IsMatch(string candidate)
        {
            var match = Regex.Match(candidate, _regex);
            return match.Success && match.Value.Trim().Length == candidate.Trim().Length;
        }