public void AppendMatch(StringBuilder builder)
        {
            AppendRandomPaths(builder);

            // append sub geenrator match.
            _subGenerator.AppendMatch(builder);
        }
Пример #2
0
 public string GenerateRandomMatch()
 {
     //_mode = MatchGenerationMode.Match;
     _stringBuilder.Clear();
     _generator.AppendMatch(_stringBuilder);
     return(_stringBuilder.ToString());
 }
 public void AppendMatch(StringBuilder builder)
 {
     // append a random literal, between 0 characters and 10 in length
     builder.AppendRandomLiteralString(_random, 10);
     _subGenerator.AppendMatch(builder);
 }
Пример #4
0
 public string GenerateRandomMatch()
 {
     _stringBuilder.Clear();
     _generator.AppendMatch(_stringBuilder);
     return(_stringBuilder.ToString());
 }