Esempio n. 1
0
 public override string ToString()
 {
     return("Matching:"
            + string.Join(", ", MatchingCharacters.Select((item, i) => $"[{i}] = {string.Join("|", item.Select(r => $"{r.Data1}...{r.Data2}"))}"))
            + " Failing: "
            + string.Join(", ", FailingCharacters.Select((item, i) => $"[{i}] = {string.Join("|", item.Select(r => $"{r.Data1}...{r.Data2}"))}")));
 }
Esempio n. 2
0
 public override string ToString()
 {
     return($"({PositionA}, {AdvancesA}) ({PositionB}, {AdvancesB}); {MinBounds} <= B <= {MaxBounds}; Matching {string.Join(", ", MatchingCharacters.Select((item, i) => $"[{i}] = {string.Join("|", item.Select(r => $"{r.Data1}...{r.Data2}"))}"))}; Failing {string.Join(", ", FailingCharacters.Select((item, i) => $"[{i}] = {string.Join("|", item.Select(r => $"{r.Data1}...{r.Data2}"))}"))};");
 }