예제 #1
0
 private ModelRound GetRound(CacheRound round)
 {
     return(new ModelRound
     {
         Time = round.Time,
         Winner = round.Winner,
         TerroristScore = round.TerroristScore,
         CounterTerroristScore = round.CounterTerroristScore,
         Kills = round.Kills.Select(kill => GetKill(kill)).ToList(),
     });
 }
예제 #2
0
 private DateTime?GetRoundTime(CacheRound round)
 {
     return(round != null ? round.Time : (DateTime?)null);
 }