15 lines
No EOL
528 B
C#
15 lines
No EOL
528 B
C#
namespace EMQual;
|
|
|
|
/// <summary>
|
|
/// Match result for a single team.
|
|
/// </summary>
|
|
/// <param name="TeamName">Name of the team</param>
|
|
/// <param name="Goals">Number of goals scored by this team</param>
|
|
public record TeamResult(string TeamName, int Goals);
|
|
|
|
/// <summary>
|
|
/// Match results for one game.
|
|
/// </summary>
|
|
/// <param name="HomeTeam">Match result for the home team</param>
|
|
/// <param name="GuestTeam">Match result for the guest team</param>
|
|
public record Match(TeamResult HomeTeam, TeamResult GuestTeam); |