Beispiel #1
0
 private void ProcessUpdatedScore(FootballScore newScore)
 {
     LatestScore = newScore;
     // OkashTODO: extract chosen runner score and opponent score.
     if (newScore.HomeName == _chosenRunnerName)
     {
         _chosenRunnerScore   = newScore.HomeScore;
         _opponentRunnerScore = newScore.AwayScore;
     }
     else
     {
         _chosenRunnerScore   = newScore.AwayScore;
         _opponentRunnerScore = newScore.HomeScore;
     }
     Logger.Write(Resources.ProjectName, _matchName, "----New Score Received. [" + newScore.ToString() + "]");
 }