Пример #1
0
 public DefaultScoreKeeper(ITeamScore homeScore, ITeamScore awayScore, IScoreboard scoreboard)
 {
     _homeTeamScore = homeScore;
     _awayTeamScore = awayScore;
     _scoreboard    = scoreboard;
 }
Пример #2
0
 public ScoreKeeper(ITeamScore homeScore, ITeamScore awayScore)
 {
     _homeTeamScore = homeScore;
     _awayTeamScore = awayScore;
 }