コード例 #1
0
 protected override void CreateSummary()
 {
     if (Winners == null || !Winners.Any() || Losers == null || !Losers.Any())
     {
         Summary = "Game Ended.";
     }
     else
     {
         Summary = String.Format("Game ended: {0} wins against {1}.", Winners.First(), Losers.First());
     }
 }