Esempio n. 1
0
 public Game(Team team1, Team team2, Linescore linescore, bool isFinal, Guid eventId, bool isOverAndFullyParsed, Guid drawId, DateTime date)
 {
     this.Team1                = team1;
     this.Team2                = team2;
     this.Linescore            = linescore;
     this.IsFinal              = isFinal;
     this.PercentagesAvailable = false;
     this.EventId              = eventId;
     this.DrawId               = drawId;
     this.IsOverAndFullyParsed = isOverAndFullyParsed;
     this.GameId               = Guid.NewGuid();
     this.Url  = GenerateUrl();
     this.Date = date;
 }
Esempio n. 2
0
 public int GetNumberOfEnds()
 {
     return(Linescore.GetNumberOfEnds());
 }
Esempio n. 3
0
 public int GetScoreForEnd(int teamNumber, int endNumber)
 {
     return(Linescore.GetTeamXScoreInEnd(teamNumber, endNumber));
 }