public DirectoryWildcardEvaluator(IReadOnlyList <Token> tokens, int tokenIndex, EvaluatorFactory factory, out int nextTokenIndex) { _token = tokens[tokenIndex]; _followingEvaluator = new CompositeEvaluator(tokens, tokenIndex + 1, factory, out nextTokenIndex); _containsFollowingSeparator = _token.Value[_token.Value.Length - 1].IsDirectorySeparator(); }
public WildcardEvaluator(IReadOnlyList <Token> tokens, int tokenIndex, EvaluatorFactory factory, out int nextTokenIndex) { _token = tokens[tokenIndex]; _followingEvaluator = new CompositeEvaluator(tokens, tokenIndex + 1, factory, out nextTokenIndex); }