public void Report(RoundBase round, TournamentIssues issue) { int roundIndex = GetIndexOf(round); string description = GetDescriptionFor(issue); Issues.Add(TournamentIssue.Create(roundIndex, -1, -1, description)); }
public void Report(GroupBase group, TournamentIssues issue) { int roundIndex = GetIndexOf(group.Round); int groupIndex = GetIndexOf(group); string description = GetDescriptionFor(issue); Issues.Add(TournamentIssue.Create(roundIndex, groupIndex, -1, description)); }
public void Report(Match match, TournamentIssues issue) { int roundIndex = GetIndexOf(match.Group.Round); int groupIndex = GetIndexOf(match.Group); int matchIndex = GetIndexOf(match); string description = GetDescriptionFor(issue); Issues.Add(TournamentIssue.Create(roundIndex, groupIndex, matchIndex, description)); }
public void Report(Tournament tournament, TournamentIssues issue) { string description = GetDescriptionFor(issue); Issues.Add(TournamentIssue.Create(-1, -1, -1, description)); }