예제 #1
0
 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();
 }
예제 #2
0
 public WildcardEvaluator(IReadOnlyList <Token> tokens, int tokenIndex, EvaluatorFactory factory, out int nextTokenIndex)
 {
     _token = tokens[tokenIndex];
     _followingEvaluator = new CompositeEvaluator(tokens, tokenIndex + 1, factory, out nextTokenIndex);
 }