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;
        }